•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileThe CHAIN command works differently depending on whether it is interpreted or
compiled. In a compiled program the specified name is given to the AES function
SHEL_WRITE(), and the program which is running is terminated with a QUIT
command. The program called by the CHAIN command is then started.

The called program does not therefore take up any more space.

A command line up to 128 bytes can be passed to the chained program. The
command line should be placed at BASEPAGE+128.

At least 32500 bytes must be free for a compiled program before calling the
FILESELECT command.

Memo: STOP returns error code -128.

      The editor always intializes the AES and the VDI, however the compiler
      will only do this if some AES or VDI call is made. It's possible the
      ID returned from APPL_INIT() is invalid, or the handle from V~H is
      invalid. Simply making an AES or VDI call will force the compiler to
      link the initialization code.

      Also ~INP(2) will appear to fail under MiNT if the AES is not
      initialized.