45

Syntax Summary
FREEFILE (see Chapter 8)
Use
FREEFI LE is a function which returns on unused stream number.
Syntax
FREEFILE
FUNCTION (see Chapter 6)
Use
FUNCTION is used to define a routine function.
Syntax
FONCTION functton-identiter[l formal-list)) [EXPORT):
function-body:
END FUNCTION
where
function-identifier
formal-list
forma)-funcfionlist
simple.var-list
forma)-var-list
formal-var
formalarrayis
separator is or, function-body isa sequence of BASIC 2 Plus statements.

GET (see Chapter 13)
Use GET gets datafrom Random or Keyed Files.
Syntax GET [#)stream-number, string-general-variable if,) position) if,) LOCK lock-type) where positton is as described in POSITION.

GOSUB (see Chapter 6)
Use
GOSUB is used to call a subroutine elsewhere imthe program.
Syntax
GOSUB locatton
GOSOB can be spelt as two words thus: GO SUB.
GOTO (see ChapterS)
Use
GOTO is used to jump uncondfionally to another part of the program.
Syntax
GOTO location
GOTO may be spelt as two words thus: GO TO
is identifier,
is formal-functionlist[separatorformal-functionlist)... is VAL simple-var-list or CONST simple-var-list or [VAR)fomal-var-list is idenfifier[, identifier) is forma)-var[, formal-var)... is idenfifieror formal-array array-identtter) [, ) ...
BASIC 2 PIus: User Guide & Quick Reference
45

45