# LET

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
LET variable = expression

Description:
Assigns the value of 'expression' to the variable. LET is automatically assumed if a statement does not start with a command.
For example:
LET Var = 56
Var = 56

LET is only implied at the start of a statement. Any subsequent equals signs are comparison operators

b = 7
c = 7
a = b = c
PRINT a
Output:
1
Let a equal the result of comparison (b = c)
'b' does equal 'c' so the result is true (1)

Last edited: 16 November, 2020