User Tools

Site Tools


en:variableoperators

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:variableoperators [2016/08/09 18:19]
admin
en:variableoperators [2016/08/17 13:01]
admin [Variable Operators]
Line 5: Line 5:
 ^Variable Operators^^^^ ^Variable Operators^^^^
 ^Operator^Name^Example^Comments^ ^Operator^Name^Example^Comments^
-|:3=|:3Assign a Number to a Variable|a = 9| | +|=|Assign a Number to a Variable|a = 9| | 
-|z = "Hola."| | +| | |z = "Hola."| | 
-|q$ = 9.9| |+| | |q$ = 9.9| |
 |+=|Add to a Variable|a += 7|Same as a = a + 7| |+=|Add to a Variable|a += 7|Same as a = a + 7|
-|+=|Concatenate to a Variable|f += "."|Same as f = f + "." |+| |Concatenate to a Variable|f += "."|Same as f = f + "." |
 |-=|Subtract from a Variable|a -= 9|Same as a = a - 9| |-=|Subtract from a Variable|a -= 9|Same as a = a - 9|
 |*=|Multiply a Variable|a *= 2|Same as a = a * 2| |*=|Multiply a Variable|a *= 2|Same as a = a * 2|
 |/=|Divide a Variable|a /= 8|Same as a = a / 8| |/=|Divide a Variable|a /= 8|Same as a = a / 8|
-|%%++%%|Increment Prefix|%%++a%%|Increment (add one) the the variable and return the value after the increment. (may be applied ONLY to numeric variables or array elements)  <sup>1</sup>+|%%++%%|Increment Prefix|%%++a%%|Increment (add one) the the variable and return the value after the increment. (may be applied ONLY to numeric variables or array elements)| 
-|%%++%%|Increment Suffix|%%a++%%|Return the value of the variable and then increment the variable by one for the next time it is accessed. (may be applied ONLY to numeric variables or array elements) <sup>1</sup>+|%%++%%|Increment Suffix|%%a++%%|Return the value of the variable and then increment the variable by one for the next time it is accessed. (may be applied ONLY to numeric variables or array elements)| 
-|--|Decrement Prefix|--a|Decrement (subtract one) the the variable and return the value after the decrement. (may be applied ONLY to numeric variables or array elements) <sup>1</sup>+|--|Decrement Prefix|--a|Decrement (subtract one) the variable and return the value after the decrement. (may be applied ONLY to numeric variables or array elements)| 
-|--|Decrrement Suffix|a--|Return the value of the variable and then decrement the variable by one for the next time it is accessed. (may be applied ONLY to numeric variables or array elements) <sup>1</sup>|+|--|Decrement Suffix|a--|Return the value of the variable and then decrement the variable by one for the next time it is accessed. (may be applied ONLY to numeric variables or array elements)
 +|[[fill|fill]]|Array Fill|a fill 99\\a fill ""|Fills an array (that was previously [[dim|dim]]ensioned) with a single value|
en/variableoperators.txt · Last modified: 2020/02/28 10:46 (external edit)