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-FileThe 3.0 Editor is no usual text editor, but was specially designed
for program development. Syntactically wrong instructions are recognised at the
typing-in stage. In addition, commands are indented automatically in loops or
conditional sections and command names expanded from their abbreviations, e.g.
p expands to PRINT.
When writing a program a syntax check is carried out whenever the cursor leaves
the current line. If the line is not syntactically correct, then the message
'Syntax error' appears on the second line of the screen. It will only be
possible to move the cursor from the line by correcting the syntax or putting
an apostrophe at the beginning, thus converting it into a Comment.
Only one instruction per program line is allowed, but a comment may be added to
the end of a line by beginning the comment with an exclamation mark.
Program lines may he up to 255 characters long. When a line exceeds 80
characters in length it is scrolled horizontally to the left. When the cursor
leaves an instruction line a syntax check is done, correct indentation of the
line is carried out and the line is formatted. In addition, redundant spaces
are removed. e.g. '2 + 2' becomes '2+2', and the letters belonging to command
words and variable names are adjusted according to the current DEFLIST setting.
The preset parameter DEFLIST 0 causes all command words to he written in upper
case and all variable names in lower case.
Memo: The maximum number of lines supported by the editor isn't exactly
known. Jumping to a line number (Control-G) allows 0 to 999999 as input.
However, listings with over 65535 lines cause problems.
Jumping to the end (Control-Z) works, but the line readout if wrong.
Jumping to a line (Control-G) fails if the line is >65535.
Searching (F6) jumps to the wrong line if found on lines >65535.
There might be other issues!
Recommendation: Do not exceed 65535 lines of code.