11 INSTRUCTIONS AND FUNCTIONS
NEW
Instruction
• Erases all programs in memory and initializes all variables.
NEW
Syntax
NEW
Examples
• The NEW instruction erases all programs currently resident in memory and initializes
Description
memory before entering a new program. The size of the memory area defined by the
CLEAR instruction does not change, however.
• When the NEW instruction is executed, BASIC will wait for a next instruction.
• The NEW instruction automatically closes all files, if any files were open.
11 - 154
NEW
• • • •
REMARK
See the CLOSE, END, LOAD and SAVE instructions, and Section 3.1.
Erases all programs in memory and initializes all
variables.
MELSEC-Q
11 - 154