•  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-FileIf several operators are used in an expression, they are processed in a certain
order, which depends on the operator's place in the so-called operator
hierarchy. The operators at the top of this hierarchy are processsed first. The
hierarchy is as follows:

    ()                  Brackets
    +                   Character string addition
    = < > => <= <>      Character string comparison
    + -                 Signing
    ^                   Exponentiation
    * /                 Multiplication, division
    DIV MOD             Integral and modulo division
    + -                 Addition, subtraction
    = == < <= >= > <>   Numeric and logical comparison
    AND OR XOR IMP EQV  Logical operators
    NOT                 Negation

By means of the brackets it is possible to force lower-precedence operators to
be processed before those higher up the hierarchy.

Example:

    PRINT 2+4*3
    PRINT (2+4)*3
    PRINT 2+(4*3)
    PRINT 3*2^2

--> The numbers 14, 18, 14, and 12 appear on the screen.