User Tools

Site Tools


en:variableoperators

Differences

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

Link to this comparison view

Next revision
Previous revision
en:variableoperators [2016/08/09 18:16]
admin created
en:variableoperators [2020/02/28 10:46] (current)
Line 6: Line 6:
 ^Operator^Name^Example^Comments^ ^Operator^Name^Example^Comments^
 |=|Assign 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|Fills an array (that was previously [[dim|dim]]ensioned) with a single value (may be a string or numeric expression)|
en/variableoperators.1470788201.txt.gz · Last modified: 2020/02/28 10:46 (external edit)