Let Command

Purpose

Assignment of variables

Syntax

Let x=y

x:avar or svar
y:aexp or sexp

Description

Let x = y command assigns the variable x with the value in expression y. x and y must either be both numeric or both strings.

Let x=y is normally not necessary, but is used when one of the reserved GFA-BASIC variables (for example Data) needs to be assigned a value.

Example

Local data As String

Let data = Str$(PI, 9)

See Also

Lset

{Created by Sjouke Hamstra; Last updated: 11/10/2014 by James Gaite}