Topic: APLX Help : Help on APL language : System Commands : )WSID Workspace identification
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

)WSID (lib) (name (:pass))


Workspace identification. Used on its own, it tells you the name of the current workspace. Followed by a name (optionally preceded by a library number) it names the current workspace. If you include a password (preceded by a colon), you will have to use the password when you subsequently access the workspace.

             )WSID FRED
       WAS CLEAR WS
             )WSID 3 FRED:SECRET     (password is SECRET, library is library 3)
       WAS FRED
             )WSID /usr/workspaces/FRED.aws           (full pathname supplied)
       WAS 3 FRED

Library specification and path names

There are two different ways in which you can specify the full path associated with the workspace name:

  • As shown in the first two examples above, you can specify the workspace name as just the base name of the workspace, for example MYWS or Budget03, optionally preceded by a library number. In this case, APLX appends any default file-extension to the name (.aws for Windows, AIX or Linux), and makes the full path for the workspace by prepending directory corresponding to the specified library number. Library numbers 0 to 9 are set up either using the Preferences dialog, or by using the ⎕MOUNT system function. Library 10 contains the utility and demonstration workspaces supplied with APLX. If you omit the library number, library 0 is assumed.
  • As shown in the third example above, you can specify a full operating-system path name, including directory separation characters, such as /usr/workspaces/Budget03.aws (Linux), C:\workspaces\Budget03.aws (Windows), or MacHD::workspaces:Budget03 (MacOS). APLX uses the path name exactly as supplied, so under Linux, Windows and AIX you usually need to provide the .aws file extension.

See the description of the )LOAD system command for more detail on libraries and path names.


Topic: APLX Help : Help on APL language : System Commands : )WSID Workspace identification
[ Previous | Next | Contents | Index | APL Home ]