•  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-FileFALSE
TRUE
PI

The logical constant FALSE returns the value 0.

The logical constant TRUE returns the value -1.

The constant PI returns the value of the transcendental number pi
(3.14159265359).

Example:

    PRINT FALSE
    IF TRUE
      PRINT PI
    ENDIF

--> Prints the numbers 0 and 3.14159265359 on the screen.

Memo: Be very careful porting source code from other languages.
      Often TRUE returns 1 in other languages.