beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 70

background image

Using the Program Port (PRT1)

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 70 of 234

ProSoft Technology, Inc.

December 13, 2011

5.11 Commenting a BASIC Program

The

REM

command allows the user to insert comments in the BASIC program that

will be ignored by the BASIC interpreter. Use the

REM

command after a colon (:) in

a program line.

Example:

10 REM BASIC PROGRAM
20 LET A=3: REM ASSIGN A VALUE TO A
30 PRINT A: REM PRINTS A