User Tools

Site Tools


en:variables

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 Both sides next revision
en:variables [2016/08/07 21:19]
admin
en:variables [2016/08/09 18:12]
admin
Line 10: Line 10:
 \\ \\
 In previous versions (before 1.99.99.8) Variables that contained strings were required to end with a dollar sign ($).  This limitation has been removed and any variable may store any type of value.\\ In previous versions (before 1.99.99.8) Variables that contained strings were required to end with a dollar sign ($).  This limitation has been removed and any variable may store any type of value.\\
-\\ + 
-^Variable Assignment^^^^ +See also: [[variableoperators|Variable Operators]] 
-^Operator^Name^Example^Comments^ +
-|=|Assign a Number to a Variable|a = 9| | +
-|=|Assign a String to a Variable|z = "Hola."| | +
-|=|Assign a Number to a Variable|q$ = 9.9| | +
-|+=|Add to a Variable|a += 7|Same as a = a + 7| +
-|+=|Concatenate to a Variable|f += "."|Same as f = f + "."+
-|-=|Subtract from a Variable|a -= 9|Same as a = a - 9| +
-|*=|Multiply a Variable|a *= 2|Same as a = a * 2| +
-|/=|Divide a Variable|a /= 8|Same as a = a / 8|+
  
en/variables.txt · Last modified: 2020/02/28 10:46 (external edit)