·
Variable erases one or more variables belonging to the specified programme, which are not linked to a
loaded programme. The variable name is required as parameter. To use this command, memory, sys
-
tem and programme protection must be off.
Options: /Noconfirm eliminates the confirmation prompt.
Syntax: MEV <programme_name> <variable_name>
Load
The LOAD command is used to load stored programme and data files into memory for execution.
The name of the programme to be loaded is specified as a parameter. The asterisk may be used for the
programme name. The programme is loaded from the default device.
Programmes are loaded first, followed by their data files. If a data file does not exist for a programme, the
variables are created in memory during loading.
It is not possible to load a programme while it is in the ready, paused or running status or if system or mem
-
ory protection is on.
If the programme will not load because the .COD file has been corrupted, either recover a backup copy or
use the FILER PRINT command to output the programme to an ASCII file. Once the ASCII file has been ob
-
tained, it must be edited to repair all corrupted statements and identifiers which are identified by three ques
-
tion marks (“???”). Once the necessary corrections have been made, use the FILER TRANSLATE command
to re-convert into a .COD file.
To be able to use this command the controller must not be in a FATAL status and both system and memory
protection must be off.
Options: /As allows programmes to be loaded with a different data file, specified as a parameter.
The asterisk cannot be used with this option.
/Convert converts various kinds of mismatches between the data file and the programme.
/Depend automatically loads the code and variables of those programmes that are referred
to in the code of the programme specified as parameter to the MEMORY LOAD command.
/Full loads programmes with the associated comments, error notes and blank lines. A
programme that has been loaded with the /FULL option can be edited in the MEMORY
DEBUG environment and saved. Programmes with the EZ attribute in their header are
automatically loaded with the /FULL option.
/Nosavevars disables the saving of the variables (or VAR) when the MEMORY SAVE
function is run in this program. This option is available only if it’s used in conjunction with
the inside routine SYS_CALL.
/Variables loads only the data file.
/Permanent loads a programme’s code permanently into memory, preventing it from being
erased accidentally. The code uses less memory due to optimisation of the load process. To
retrieve the memory it is necessary to restart the controller. This option is only available when
used together with the built-in SYS_CALL routine.
Syntax: ML <programme_name>
ML/A <programme_name data_file>
ML/F <programme_name>
C3G Plus OPERATOR INTERFACE
06/0400 3-39
MEMORY COMMAND