LOAD monitor command extension. The current default device, unit, and directory path are considered as appropriate (see the DEFAULT command). If no filename extension is specified, the extension ".V2" is appended to the name given if a local disk is to be accessed. Details This command loads the contents of the specified disk file into the system memory. The disk file can contain programs and/or variables, but it must have the format produced by the eV+ STORE_ commands. If an attempt is made to load a program that has the same name as a program already in memory, an error message is displayed, and the new program is not loaded.
The currently loaded program must be DELETEd, or memory must be ZEROed, before a new program of the same name can be LOADed. If a location variable, real variable, or string variable already exists in memory that has the same name as one contained in the disk file, the previous variable is deleted and replaced by the information on the diskette without warning. If a program is being loaded into the system and there is a line that eV+ cannot process, an error message appears on the monitor screen, and the line is made into a "bad line", marked with a question mark. You can then use one of the eV+ editors to modify the program after it is completely read into memory.
This is useful, for example, when you load a program that was composed off-line. When a LOAD command loads programs into memory, all the programs are entered in a program module with the same name as the first program read from the disk file. The program module is created if it does not already exist. The programs loaded are entered into the module in the order that they are read from disk. (See the description of the MODULE command for an explanation of program modules.) The autostart feature available with eV+ systems allows you to automatically issue a LOAD command when the robot system is powered on and eV+ is loaded from disk.
See "Program Autoload" in the eV+ Operating System User's Guide for details. If the file is in special, binary program format, the LOAD command automatically applies the special handling the file requires. Examples LOAD D:pallet Loads the contents of the file PALLET.V2 from disk D (the SD Card). LOAD f3.pg eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 129