EDIT Subcommands-RENUM, REPEAT
3. AllVSBASIC statements that use statement numbers for operands are
updated to reflect the new line numbers. TheVSBASIC statements
with line number operands are:
4.CLOSE CLOSEFILE DELETE EXIT GET GOSUB GOTO IF ON OPEN OPENFILE PRINT USING PUT If any error occurs during the
terminatesthe RENUM operation and
unchanged.
READFILE
REREADFILERESET RESETFILE
REWRITEFILEWRITEFILE RENUM operation, the editor
the file being editedremains When verification is on, the message EDIT: indicates that the RENUM subcommand completed processing.
REPEATUse the REPEAT subcommand to execute the immediately following OVERLAY subcommand (or an X or Y subcommand assigned to invoke OVERLAY) for the
specified number of lines or to the end of the file. The format of theREPEAT subcommand is:
r------
ir , , REPEAT Inl I 1*' I III , L .J L- n indicates the number of times to repeat the OVERLAY request that immediately follows, beginning with the current line. An asterisk
(*) indicates that the request is to be repeated until the end of
the file is reached. If neither n nor * is specified, then only
one line is handled. The last line processed becomes the new
current line.
1. If the next subcommand issued after the REPEAT subcommand is not anOVERLAY subcommand
6 the REPEAT subcommand is ignored= 2. For an example of a REPEAT subcommand followed by an OVERLAY subcommand, see the discussion of the OVERLAY subcommand.
None.Section 3. EDIT Subcommands and Macros 243
3. All
updated to reflect the new line numbers. The
with line number operands are:
4.
terminates
unchanged.
READFILE
REREADFILE
REWRITEFILE
the file being edited
REPEAT
specified number of lines or to the end of the file. The format of the
r------
i
(*) indicates that the request is to be repeated until the end of
the file is reached. If neither n nor * is specified, then only
one line is handled. The last line processed becomes the new
current line.
1. If the next subcommand issued after the REPEAT subcommand is not an
6
None.