![background image](http://html1.mh-extra.com/html/omron/c500-asc04/c500-asc04_operation-manual_743033043.webp)
32
If <arg> is not specified, information on the area currently being used is dis-
played.
If ALL is specified, information on all three program areas will be displayed.
PNAME Command
Purpose:
To assign a name to a program stored in the area specified with
the PGEN command or to cancel a previously assigned program
name
Format:
PNAME <string>
<string> is the chosen name (enclosed in quotes) for the pro-
gram or the null string, “ ”.
Examples: PNAME “PROG1”
PNAME “ ”
Remarks:
The chosen name must be eight characters or less.
Program areas assigned a name with the PNAME command are protected from
execution of the LOAD and NEW commands which erase program area con-
tents. It is necessary to erase all assigned program names with the PNAME “ ”
command before execution of the LOAD or NEW commands.
RENUM Command
Purpose:
To renumber program lines
Format:
RENUM [<new number>] [,[<old number>][,<inc>]]
<new number> is the first line number to be used in the new se-
quence. The default is 10.
<old number> is the line in the current program where the re-
numbering is to begin. The default is the first line of the program.
<inc> is the increment to be used in the new sequence. The de-
fault is 10.
Examples: RENUM 200
RENUM 500, 200, 10
Remarks:
RENUM will also change all line number references following GOTO, GOSUB,
THEN, ELSE, ON ... GOTO, ON ... GOSUB, RESTORE, RENAME, and ERL
statements to reflect the new line numbers.
Statement numbers greater than 63999 cannot be used.
RUN Command
Purpose:
To execute a program
Format:
RUN [<line>]
<line> is any line number less than 63999.
Remarks:
If a line number is specified, execution begins from that line. If the line number is
omitted, execution starts from the first line of the program.
The RUN command clears all variables and closes all open files before execut-
ing the designated program.
Program execution can be aborted with CTRL+X, or the START/STOP switch.
Program execution can also be aborted from within the program by an END or
STOP statement.
Commands, Statements, and Functions
Summary of Contents for C500-ASC04
Page 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Page 5: ...iv ...
Page 7: ...vi ...