System Command LOAD: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
(t/c)
 
(6 intermediate revisions by the same user not shown)
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. 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 9:
: )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.  


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


The command works like this:<br/><br/><code>
The command works like this:<br/><br/><code>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)LOAD this_is_my_workspace</code>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)LOAD this_is_my_workspace</code>


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


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 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|LOAD}}
{{Article footer|0|NO}}

Latest revision as of 15:29, 13 October 2019

)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. 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.

The Session Manager opens a new window for the newly )LOADed workspace.

The command works like this:

      )LOAD this_is_my_workspace

The Session Manager 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


See Also
System Commands System Variables and Functions Operators


Keyboard
Alt+Shift
Alt ¨ ¯ < > × ÷
Shift ~ ! @ # $ % ^ & * ( ) _ +
Key ` 1 2 3 4 5 6 7 8 9 0 - =
Alt+Shift
Alt ? § π
Shift Q W E R T Y U I O P { } |
Key q w e r t y u i o p [ ] \
Alt+Shift
Alt
Shift A S D F G H J K L : "
Key a s d f g h j k l ; '
Alt+Shift χ
Alt
Shift Z X C V B N M < > ?
Key z x c v b n m , . /
NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
< = >
~ § π .. ,
/ \ ¨ .
_ ¯
Second Row i j k i j k l g p r v x