Dyalog Primer - Workspaces, Sessions, Logs,
On the General tab, make sure Line Numbers is checked
On the Keyboard tab, select UK-din
On the Object Syntax tab, make sure all three boxes are checked
On the Session tab set ⎕io ⎕ml to 0 and 3 respectively
Check the name supplied for the session file
On the Log tab, make sure that "Use session log file" is checked and that the filename is suitable.
Quit APL by typing )off into the session window
Move the cursor onto this line, change the 3 to a 5 and hit Enter
settings saved in the session file are those you feel comfortable with;
we're just setting things up here so that the rest of the Primer
behaves as intended.
- Notice that after the restart
scroll back up the log file to previous sessions (there's some verbal
overload here - the "session" that you are having, and the "session
file" that controls how your session behaves.
log file) "tells the truth" - you can revisit old entries, change them
and execute the changed line; when you do this the old entry reappears
in the log.
- Having a log that spans several
sessions is useful when you are interrupted.
are "collections of things" - an environment, if you like.
They're not "linear" - there's no beginning and end.
latent expression is a way to make a workspace do something when it is
commands can be entered into the APL session, letting you see or change
some aspects of the workspace or session - but they don't follow the
rules of APL expressions and can't be used in APL expressions.
functions and system variables are what you use to do these tasks in
- Notice how the dfns workspace has
set index origin for itself - visible in the status bar at the bottom
of the session window.
- Dyalog User Guide
- Installation and Configuration
- The APL Environment
Check Options/Configure to confirm that there's a representative set of folders containing workspaces.
- Display available workspaces in the session, either for the default folders or for a single folder.
the dfns workspace, display the names of all variables, functions,
operators and namespaces in the root (do this using both system
commands and system functions).
- List all the variables within the notes namespace
- Display the contents of wsdiff (which is in the notes namespace).
- Save a copy of the dfns workspace in a new personal folder.