•  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-FileDEFLIST n

n: iexp

DEFLIST determines the format of the program listing. The numerical expression
'n' can be a value between 0 and 11 (inclusive). The effect of the instruction
on the listing is as follows:

n   Command  Variable  Comment
 0  PRINT    abc       !
 1  Print    Abc       !
 2  PRINT    abc#      !
 3  Print    Abc#      !
 4  PRINT    abc       //
 5  Print    Abc       //
 6  PRINT    abc#      //
 7  Print    Abc#      //
 8  PRINT    abc       /*
 9  Print    Abc       /*
10  PRINT    abc#      /*
11  Print    Abc#      /*

The default mode is DEFLIST 0.

DEFLIST 0

Instructions and functions are represented in capitols. Variables, procedures,
and function names are in lower case.

DEFLIST 1

Instructions, functions, procedures, and variable names are represented with
the first letter in upper case, and the remainder in lower case.

DEFLIST 2

Same as DEFLIST 0, except that variable type post-fix is added.

DEFLIST 3

Same as DEFLIST 1, except that variable type post-fix is added.

DEFLIST 4-7

Same as DEFLIST 0-3, except that the comment marker is '//'.

DEFLIST 8-11

Same as DEFLIST 0-3, except that the comment marker is '/*'.

Memo: The additional comment styles were not documented in my manual.
      DEFLIST style breakdown:
      Bit  Description
      0    Capitalize commands and variables
      1    Show prefix for default variable type
      2    Display '//' instead of '!'
      3    Display '/*' instead of '!'
      4-7  Ignored