Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
inc [2019/05/07 13:44] neilsinc [2021/01/09 06:36] (current) neils
Line 5: Line 5:
   inc <byte or int variable>   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:+The ''INC'' command increments the value of a byte or integer variable by 1. This is considerably faster than doing ''LET x = x + 1''. Example:
  
  let myVar = 10  let myVar = 10