### Creating top-level tasks using the File menu

To create a new top-level task, just select 'New Session' from the File menu. A new session window will open, and you now have two APL tasks running. The window titles indicate which session is which.

You can execute APL expressions and )LOAD workspaces separately in each session window. You can also use the other APLX features such as Edit windows and the Workspace Explorer simultaneously in multiple tasks. To help you keep track of which window belongs to which task, the window title includes the workspace name. In addition, the Window menu shows the window titles associated with each session grouped together and indented. For example, this is how the screen might look if you have two top-level tasks running, and you are editing one function in each task:

### Choosing the Host on Client-Server versions of APLX

If you are running a Client-Server implementation of APLX, you can choose on which Server your new APL tasks should run, by going to the APL tab of the APLX Preferences dialog. You can set the default to be a 32-bit APL on the current machine, a 64-bit APL on the current machine (if you have purchased APLX64), or alternatively specify a Server host name which APLX should contact over the network to create the task.

You can also specify that you want to be prompted each time a new session is created, in which case a dialog will appear when you select New Session from the File menu.

### Setting the workspace size

When you create top-level task using the File menu, it is allocated the default workspace size which you have set using the Preferences dialog. You can change the workspace size using the )CLEAR system command, which optionally takes a parameter which is the desired workspace size in bytes, kilobytes (K), megabytes (M) or gigabytes (G):

                )CLEAR 800K
          WS Size = 800KB
          CLEAR WS
                )CLEAR 2M
          WS Size = 2.0MB
          CLEAR WS

The valid range is 50KB to 2GB (for 32-bit versions of APLX). For APLX64, the maximum workspace size is limited only by the maximum virtual memory size allowed by the operating system (currently 16384 GB for Windows XP 64). Depending on the operating system and its configuration, you are likely to be limited in the maximum size of workspace which you can allocate.

Topic: APLX Help : Multi-tasking support : Creating top-level tasks using the File menu

[ Previous | Next | Contents | Index ]