- Name:
-
inc
- Syntax:
-
INC var
Var - is the variable to increment
- Description:
-
Increment (add 1 to) the variable value. This command is shorthand for 'let var = var + 1'
- Applies To:
-
All
- See Also:
-
- Related Create:
-
- Share:
-
- Print:
-
Increment a variable
Increment b2 five times in a for / next loop
- Code Example:
-
for b1 = 1 to 5
inc b2
next b1
Copy Code
Submit an Example
Submit Your Own Code!
You must be logged in to submit code examples. Login now.