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-FileLET x=y
x: avar or svar
y: aexp or sexp
With LET, values can be assigned to variables whose names are keywords.
By means of LET one can transfer the value of an expression to a variable. The
expression and the variable must either be both numerical or both character
strings. Normally LET is not necessary: it served in older BASIC's to allow the
use of keywords as variable names. However, usually recognizes
automatically when a keyword is used in this way and allows it.
Example:
LET print=3
PRINT print
--> The number '3' is displayed on the screen.