INC

Syntax:

inc <byte or int variable>

The INC command decrements the value of a byte or integer variable by 1. This is considerably faster than doing LET x = x + 1. Example:

let myVar = 10
inc myVar
print myVar

The above will output 11.

Note: the INC command does not work on floats.

Discussion

Enter your comment. Wiki syntax is allowed:
A​ M O Y Y
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies