Topic: APLX Help : Help on APL language : System Commands : )LIB List library
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

)LIB (lib)


Lists the names of the workspaces in the library or explicit path specified (or Library 0 by default). If the command (and library number, if used) are followed by a letter, only workspaces beginning with that letter are listed.

             )LIB
       COAL         CONSOLE       FORMAT      MIRSEQ    NEWGRAF      
       PSYS         SYSFNS     
             )LIB C 
       COAL         CONSOLE       
             )LIB 3
       CALCULATE    DISPLAY
             )LIB C:\workspaces\budgets
       Budget02     Budget03     BudgetDraft

Note that only APLX workspaces are shown in the list, not other files. Under Windows, Linux and AIX, these will have the file extension .aws (any workspaces you save using a full pathname without this extension will not be listed). The file extension is not shown in the )LIB display.

Library specification and path names

There are two different ways in which you can specify the directory where APLX should look for the workspaces:

  • You can specify a numeric library number, as shown in the first three examples above. 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 last example above, you can specify a full operating-system directory name, including directory separation characters, such as /usr/workspaces/ (Linux), C:\workspaces\ (Windows), or MacHD::workspaces:Budget03 (MacOS). APLX uses the directory name exactly as supplied.

Note also that, in Client-Server implementations of APLX, you can precede the path name with an Up or Down arrow to specify on which machine the directory should be searched.

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 : )LIB List library
[ Previous | Next | Contents | Index | APL Home ]