<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > Operators > Implicit assignment |
Variable Implicit assignment
Implicit assignment takes place when a statement starts with a variable name followed by an operator.
For example:
B + 2
is considered as an implicit assignment to variable B and is equivalent the one of the below statement statements:
B = B + 2
B += 2
Implicit assignment is actually supported only for scalar numeric variables.
Supported operators are: +, -, *, /, \