💾 Archived View for blitter.com › apl-books › APLX50 › APLX-manual › www.microapl.com › apl_help › c… captured on 2023-01-29 at 14:38:07.
⬅️ Previous capture (2022-07-17)
-=-=-=-=-=-=-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>How APLX Behaves in a Standalone Application</TITLE> <META NAME="DESCRIPTION" CONTENT="APL language help page: How APLX Behaves in a Standalone Application"> <META NAME="KEYWORDS" CONTENT="standalone application,application,packager,runtime,executable,session window,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">APLX Help</A> : <A HREF="ch_110.htm">Standalone APL Applications</A> : <A HREF="ch_110_020.htm">How APLX Behaves in a Standalone Application</A> </center> <center> [<A HREF="ch_110_010.htm">Previous</A> | <A HREF="ch_110_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>How APLX Behaves in a Standalone Application</h1> </td> </tr> <tr> <td width="800" valign="top" colspan="2"> <hr> <H2>Restrictions of the Runtime Interpreter</H2> <p>The APL interpreter which is packaged together with your workspace to form the standalone application is an almost complete implementation of APLX, but without the capability of running in desk-calculator mode and without the APL development environment (debugger, function editor, etc). Thus, your workspace must include a latent expression which takes over when the application starts up. If your APL code ever tries to return to desk calculator mode (either because the latent expression terminates normally, or if an untrapped APL error occurs or breakpoint is hit), then the APL session will end. If it terminates because of an error, the error message will be displayed in a message box.</p> <p>Other differences are:</p> <ul> <li>The APL development windows are not available. These include the Debug, Watch, Display, Workspace Explorer, and Control Browser windows. <li>Edit Windows can be invoked using <code>⎕EDIT</code>, but can only be used to edit variables, not functions. <li><code>)SAVE</code> <code>)IN</code> and <code>)OUT</code> are not implemented. </ul> <H2>The Session window</H2> <p>The APLX Session window <i>is</i> available in standalone applications, but it behaves in a special way. On start-up, the Session window does not appear, and the normal APLX sign-on message is not displayed. It will remain hidden unless your packaged application performs ordinary APL output to the Session window, or requests input using <code>⎕</code> or <code>⍞</code> input. It behaves in a similar way to the Session window in the full version of APLX, but with a simplified set of menus.</p> <p>This provides flexibility for various requirements, for example:</p> <ul> <li>A simple traditional APL application which uses the Session window for output and <code>⎕</code> for input can be packaged into a Standalone application and will work as it does when running under the full version of APLX. <li>An APLX server or file-processing application can use the Session window as a 'log' window, outputting messages to it to indicate progress, or can run in the background without any windows. <li>A full windowing application, built using System Classes, can run without the Session window ever appearing. </ul> <H2>The APLX font</H2> <p>Use of the APLX font in your applications is optional. Applications which use System Classes for user-interface programming probably will not need the APL font, but if you use the Session window for output we recommend that you do install the APLX font on machines running the application.</p> <hr> </td> </tr> <tr> <td width="800" valign="top" colspan="2"> <center>Topic: <A HREF="ch.htm">APLX Help</A> : <A HREF="ch_110.htm">Standalone APL Applications</A> : <A HREF="ch_110_020.htm">How APLX Behaves in a Standalone Application</A> </center> <center> [<A HREF="ch_110_010.htm">Previous</A> | <A HREF="ch_110_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 © 1996-2010 MicroAPL Ltd</p> <!-- %%END%% --> </body> </html>