EasyManua.ls Logo

Commodore 128 - Page 305

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The RECORD command accepts variables for its parameters. It
is often convenient to place a RECORD command within a
FOR...NEXT or DO loop. Also see DOPEN.
REM
Comments or remarks about the operation of a program line
REM [message]
The REMark statement is a note to whoever is reading a listing of
the program. REM may explain a section of the program, give
information about the author, etc. REM statements do not affect
the operation of the program, except to add length to it (and
therefore use more memory). Nothing to the right of the keyword
REM is interpreted by the computer as an executable instruction.
Therefore, no other executable statement can follow a REM on
the same line.
EXAMPLE:
1010 NEXT X: REM END OF MAIN PROGRAM LOOP
RENAME
Change the name of a file on disk
RENAME [Ddrive number,]“old filename TO new filename
[<ON | ,>Udevice number]
This command is used to rename a file on a disk, from the old
filename to the new filename. The disk drive does not RENAME a
file if it is OPEN.
EXAMPLES:
RENAME DO,TEST TO FINAL TEST
Change the name of the file TEST to FINAL TEST.
RENAME D0,(A$) to (B$),U9
Change the filename specified in A$ to the filename specified in
B$ on drive 0, device number 9. Remember, whenever a variable
name is used as a filename, it must be enclosed in parentheses.
17-63

Table of Contents

Other manuals for Commodore 128

Related product manuals