💾 Archived View for blitter.com › apl-books › APLX50 › APLX-manual › www.microapl.com › apl_help › c… captured on 2024-08-18 at 20:34:18.

View Raw

More Information

⬅️ Previous capture (2022-07-17)

-=-=-=-=-=-=-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Creating top-level tasks using the File menu</TITLE>
<META NAME="DESCRIPTION" CONTENT="APL language help page: Creating top-level tasks using the File menu">
<META NAME="KEYWORDS" CONTENT="Top-level tasks,New Session,apl,aplx,apl help">
<!-- %%COMMON_HEAD%% -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="http://www.microapl.com/styles_apl_help.css">
<!-- %%END%%-->
</HEAD>
<body>
<table>
<tr>
<td width="800" valign="top" colspan="2">
<center>Topic: <A HREF="ch.htm"><code>APLX Help</code></A> : <A HREF="ch_200.htm"><code>Multi-tasking support</code></A> : <A HREF="ch_200_020.htm"><code>Creating top-level tasks using the File menu</code></A> 
</center>
<center>
[ <A HREF="ch_200_010.htm">Previous</A> | <A HREF="ch_200_030.htm">Next</A> | <A HREF="ch.htm">Contents</A> | <A HREF="help_index.htm">Index</A>  | <A HREF="http://www.microapl.co.uk/apl/index.html">APL Home</A> ]</center>
<br></td>
</tr>
<tr>
<td width="120">
<a href="http://www.microapl.co.uk/apl/index.html"><img height="68" border="0" width="119" src="MicroAPL_logo.gif" alt="www.microapl.co.uk"></a>
</td>
<td align="left" valign="bottom">
<h1>Creating top-level tasks using the File menu</h1>
</td>
</tr>
<tr>
<td width="800" valign="top" colspan="2">
<hr>
<p>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.</p>

<p>You can execute APL expressions and <code>)LOAD</code> 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:</p>

<p><center><img width=659 height=495 src="aplx_multitask.jpg"></center></p>


<H2>Choosing the Host on Client-Server versions of APLX</H2>

<p>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. </p>

<p>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.</p>


<H2>Setting the workspace size</H2>

<p>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 <code>)CLEAR</code> system command, 
which optionally takes a parameter which
is the desired workspace size in bytes, kilobytes (K), megabytes (M) or
gigabytes (G):</p>

<PRE>
            )CLEAR 800K
      WS Size = 800KB
      CLEAR WS
            )CLEAR 2M
      WS Size = 2.0MB
      CLEAR WS
</PRE>

<p>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.</p>
<hr>
</td>
</tr>
<tr>
<td width="800" valign="top" colspan="2">
<center>Topic: <A HREF="ch.htm"><code>APLX Help</code></A> : <A HREF="ch_200.htm"><code>Multi-tasking support</code></A> : <A HREF="ch_200_020.htm"><code>Creating top-level tasks using the File menu</code></A> 
</center>
<center>
[ <A HREF="ch_200_010.htm">Previous</A> | <A HREF="ch_200_030.htm">Next</A> | <A HREF="ch.htm">Contents</A> | <A HREF="help_index.htm">Index</A>  | <A HREF="http://www.microapl.co.uk/apl/index.html">APL Home</A> ]</center>
<br></td>
</tr>
</table>
<!-- %%COMMON_BODY_TAIL%% -->
<p class="copyright">Copyright &copy; 1996-2010 MicroAPL Ltd</p>
<!-- %%END%% -->
</body>
</html>