•  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-FileAfter every program call, the return value is ouput on the screen. A 0 return
is OK, a negative number denotes an error (eg File not found), and a positive
number indicates other error conditions. Thus for example, the compiler could
return the number of uncompiled instructions and the linker the number of
undefined symbols.

Memo: Error codes are as follows:

      Compiler values:
      <0 = Gemdos error code unless otherwise noted
             -1 = Disk full/Structure errors detected
             -8 = Out of memory
           -100 = Bad verion or file ID
       0 = Ok
      >0 = Total number of errors detected

      Linker values:
      <0 = Gemdos error code
           -1 = Disk full
       0 = Ok
      >0 = Total number of symbol errors detected

Note: The return value appears to be a signed byte under some versions of MiNT.
      This is a bug in MiNT. For example: A missing file returns 223, thus 223
      - 256 = -33 See 'Linker Error Messages' for more information.