System Command LOAD: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<h1>)LOAD - Load a workspace from disc and execute {quad}LX if set</h1>
<h1>)LOAD - Load a workspace from disc and execute {quad}LX if set</h1>
In order to use a prior workspace again, you must load the workspace From disk. This is the same as when you want to resume editing a document in a word processor or a spreadsheet in a spreadsheet program, you have to load what you were previously working on.
In order to use a prior workspace again, you must load the workspace From disk. This is the same as when you want to resume editing a document in a word processor or a spreadsheet in a spreadsheet program, you have to load what you were previously working on.
In order to use a prior workspace again, you must load the workspace From disk. This is the same as when you want to resume editing a document in a word processor or a spreadsheet in a spreadsheet program, you have to load what you were previously working on. This command loads the workspace, and if the workspace has the system variable <apll>{quad}LX</apll> set, it executes the value of that variable.  To load a workspace without executing {quad}LX, you must use the <apll>)XLOAD</apll> command.
The )LOAD command itself is not case sensitive, you can use <apll>)LOAD</apll> or <apll>)load</apll>.


You issue the command
You issue the command
Line 6: Line 10:
: )LOAD ''workspacename''<br/>
: )LOAD ''workspacename''<br/>
</code>
</code>
Where &quot;'''workspacename'''&quot; is the workspace you want to use. If the load was successful, it will list the name of the workspace and the time and date it was last saved. Any existing workspace you have loaded in memory is lost. If you want to retain the current workspace, you must [[)SAVE]] that workspace before doing a <apll>)LOAD</apll>.
Where &quot;'''workspacename'''&quot; is the workspace you want to use. If the load was successful, it will list the name of the workspace and the time and date it was last saved. Any existing workspace you have loaded in memory before issuing the <apll>)LOAD</apll> command is lost. If you want to retain the current workspace, you must <b><big>[[)SAVE]]</big></b> that workspace before doing a <apll>)LOAD</apll>.


The current session manager window is closed and a new one opens on the newly )LOADed workspace.
The current session manager window is closed and a new one opens on the newly <apll>)LOAD</apll>ed workspace.<br/>


The command works like this:<br/><br/><code>
The command works like this:<br/><br/><code>
Line 19: Line 23:


If the system variable [[System_Variable_LX|{quad}LX]] is set, the value of {quad}LX is executed, then Session Manager gives control back to you. If {quad}LX is not set, the session manager returns control to you immediately after loading the workspace. If you have a workspace where you do not want to execute {quad}LX on loading, use the command [[System_Command_XLOAD|)XLOAD]].
If the system variable [[System_Variable_LX|{quad}LX]] is set, the value of {quad}LX is executed, then Session Manager gives control back to you. If {quad}LX is not set, the session manager returns control to you immediately after loading the workspace. If you have a workspace where you do not want to execute {quad}LX on loading, use the command [[System_Command_XLOAD|)XLOAD]].
==See Also==
* [[System Variable LX|{quad}LX]]
* [[System Command XLOAD|)XLOAD]]


{{Commands}}
{{Commands}}

Revision as of 15:14, 27 February 2013

)LOAD - Load a workspace from disc and execute ⎕LX if set

In order to use a prior workspace again, you must load the workspace From disk. This is the same as when you want to resume editing a document in a word processor or a spreadsheet in a spreadsheet program, you have to load what you were previously working on.

In order to use a prior workspace again, you must load the workspace From disk. This is the same as when you want to resume editing a document in a word processor or a spreadsheet in a spreadsheet program, you have to load what you were previously working on. This command loads the workspace, and if the workspace has the system variable ⎕LX set, it executes the value of that variable. To load a workspace without executing ⎕LX, you must use the )XLOAD command.

The )LOAD command itself is not case sensitive, you can use )LOAD or )load.

You issue the command

)LOAD workspacename

Where "workspacename" is the workspace you want to use. If the load was successful, it will list the name of the workspace and the time and date it was last saved. Any existing workspace you have loaded in memory before issuing the )LOAD command is lost. If you want to retain the current workspace, you must )SAVE that workspace before doing a )LOAD.

The current session manager window is closed and a new one opens on the newly )LOADed workspace.

The command works like this:

      )LOAD this_is_my_workspace

The Session Manager closes the existing window and opens a new window with the new workspace loaded, then displays the following:
SAVED 02/27/2013 4:17:53
Where the date and time will be the last instance that the workspace was saved.

If the system variable ⎕LX is set, the value of ⎕LX is executed, then Session Manager gives control back to you. If ⎕LX is not set, the session manager returns control to you immediately after loading the workspace. If you have a workspace where you do not want to execute ⎕LX on loading, use the command )XLOAD.

See Also

System Commands (not case sensitive)
)CLEAR )CLOSE )COPY )DROP )EDIT )ERASE )EXIT )FNS )FOP )FOPS
)IN )INASCII )LIB )LOAD )NEWTAB )NMS )OFF )OPEN )OPS )OUT
)RESET )SAVE )SI )SIC )SINL )SYMB )ULIB )VARS )XLOAD )WSID