Rpbasic-52 programming guide – Remote Processing BASIC 52 User Manual
Page 79

RPBASIC-52 PROGRAMMING GUIDE
2-60
LIST#
Syntax:
LIST# port
LIST# port,line number
LIST# port,line number-line number
Where: port = 0 or 1 or number of serial ports on your card.
line number = program line number
Function:
Outputs the c urrently selected p rogram to the serial printer port.
Mode:
Comm and
Use:
LIST#0
Cards:
All. port limit is card dependent
D E S C R IP T I ON
The L IST# com man d outp uts all o r som e of the curren tly prog ram in RA M to t he spe cified s erial po rt. port 0
is the console po rt.
LIST# inserts spaces after the line number and before and after instructions. LIST#port, line number lists the
program from the line number to the end of the program. LIST#port,line number - line number lists the
program from the first line number to the second line number. These line numbers must be separated by a
dash(-).
RELATED
LIST