Syntax
lvalue = expression
Description
This
statement changes the value of the variable, string, array element or hardware
register lvalue with that of expression.
Example
A$ = "this is a string"
A$(8) = "1" ' makes
it this is 1 string
IN(0) = 1 'set pin 0
to be high
x = 100+(x*z-3)
Differences from other BASICs
- none from PBASIC
- some BASICs allow the archaic LET to precede this statement
See also