•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  STG Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : GFA-Basic Editor
Author      : Lonny Pursell
Version     : GBE.HYP v3.74 (12/31/2023)
Subject     : Programming/Documentation
Nodes       : 171
Index Size  : 4296
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Default
@help       : STG Help
@options    : +g -i -s +z
@width      : 75
@hostname   : THING   
@hostname   : STRNGSRV
@hostname   : HIGHWIRE
@hostname   : CAB     
View Ref-FileBuild application based on a user based build setting.  This allows one
listing to build several versions of a single application.

For example:
Apps that run in specific modes
Apps that run on specific machines
Apps that use specific hardware
Build an ACC or a PRG

Example #1: (typical code segment to adjust to a machine on the fly)

SELECT machine_type&
CASE 0
  PRINT "st build"
CASE 1
  PRINT "ste build"
CASE 2
  PRINT "tt build"
CASE 4
  PRINT "falcon build"
ENDSELECT

Could be replace with this:

Example #2:

REM #BT= tt               !0=st 1=ste 2=tt 3=falcon
REM #IFT st
PRINT "st build"
REM #EIT ste
PRINT "ste build"
REM #EIT tt
PRINT "tt build"
REM #EIT falcon
PRINT "falcon build"
REM #FIT

Only the code segment that matches the build type remains in the application.
The ones that don't match the build type are removed.