2.5.4.7 RENAME Command
The RENAME command assigns a new name to the pro-
gram currently in memory. For example, the following
command sequence brings a program named PROG1 into
memory and changes its name and directory:
OLD [KELLY]PROG1
Ready
RENAME [MCKAY.BASIC]PROG2
The name of the program is changed to PROG2. If you
perform a REPLACE operation, PROG2 is copied to the
subdirectory [MCKAY.BASIC] instead of [KELLY]. The re-
maining portion of the specification is unchanged. If you do
not specify a program name, BASIC renames the current
program to NONAME.