Galil DMC-1400 Tablet Accessory User Manual


 
DMC-1400 Series Command Reference ED 75
ED
FUNCTION: Edit
DESCRIPTION:
Using Galil DOS Terminal Software: The ED command puts the controller into the Edit
subsystem. In the Edit subsystem, programs can be created, changed or destroyed. The
commands in the Edit subsystem are:
<cntrl>D Deletes a line
<cntrl>I Inserts a line before the current one
<cntrl>P Displays the previous line
<cntrl>Q Exits the Edit subsystem
<return> Saves a line
Using Galil Windows Terminal Software: The ED command causes the Windows terminal
software to open the terminal editor.
ARGUMENTS: ED n where
n specifies the line number to begin editing. The default line number is the last line of
program space with commands.
USAGE:
While Moving No Default Value
In a Program No Default Format
Command Line Yes
Can be Interrogated No
Used as an Operand Yes
Controller Usage
ALL
OPERAND USAGE:
_ED contains the line number of the last line to have an error
EXAMPLES:
000 #START
001 PR 2000
002 BG
003 SLKJ Bad line
004 EN
005 #CMDERR Routine which occurs upon a command error
006 V=_ED
007 MG "An error has occurred" {n}
008 MG "In line", V{F3.0}
009 ST
010 ZS0
011 EN
HINT: Remember to quit the Edit Mode prior to executing or listing a program.