Available on: all targets

INC

The INC command allows you to increase a variable by one. This is much more efficient than using the standard syntax v = v + 1.

SYNTAX

 INC var


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

EXAMPLE

 INC score


Used in:

Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS