Differences

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

Link to this comparison view

Both sides previous revision Previous revision
dec [2019/05/07 08:21]
neils
dec [2019/05/07 08:37] (current)
neils
Line 5: Line 5:
   dec <byte or int variable>​   dec <byte or int variable>​
  
-The ''​DEC''​ command decrements the value of an integer variable by 1. This is considerably faster than doing ''​LET x = x - 1''​. Example:+The ''​DEC''​ 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  let myVar = 10