RESAVE
General Form:
RESAVE [<[S][R][!]>] [#stream,] filename [start_line] [,end_line]
Where:
start_line, end_line = valid program line numbers within the range 0 < 32000
The RESAVE statement saves the program currently in memory over an existing program file. The filename specifies the file to be overwritten. The RESAVE statement is particularly powerful when combined with the $PROG function to save the last program loaded onto the disk. This should not be done when programs may have been overlaid as the combined programs will be saved into the one file.
Syntax examples:
RESAVE "TESTPROG"
RESAVE #10,prog$(3)
RESAVE $PROG 400, 9000
See also: