156 ● LS DMC-40x0 Command Reference
LS
FUNCTION: List Program
DESCRIPTION:
The LS command returns a listing of the programs in memory.
ARGUMENTS: LS n,m where
n and m are valid numbers from 0 to 1999, or labels. n is the first line to be listed, m is the last.
n is an integer in the range of 0 to 1999 or a label in the program memory. n is used to specify the
first line to be listed.
m is an integer in the range of 1 to 1999 or a label on the program memory. m is used to specify
the last line to be listed.
USAGE: DEFAULTS:
While Moving Yes Default Value 0, Last Line
In a Program No Default Format -
Command Line Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
LA List Arrays
LL List Labels
LV List Variables
EXAMPLES:
:LS #A,6 List program starting at #A through line 6
2 #A
3 PR 500
4 BGA
5 AM
6 WT 200
Hint: Remember to quit the Edit Mode <cntrl> Q prior to giving the LS command. (DOS)