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
variables [2019/08/01 13:20]
neils [Scope]
variables [2020/01/31 23:58] (current)
neils [Types]
Line 25: Line 25:
 ===== Types ===== ===== Types =====
  
-The type of a variable is defined ​using a //sigil// that is appended to the variable name. If omitted, the variable will be defined ​as integer. The following types are supported:+The type of a variable is specified ​using a //sigil// that is appended to the variable name. If omitted, the variable will be recognized ​as integer. The following types are supported:
  
 ^ Type           ^ Sigil           ^ Numeric range      ^Size in bytes^ ^ Type           ^ Sigil           ^ Numeric range      ^Size in bytes^
 | Byte           | !               | 0 to 255           |1| | Byte           | !               | 0 to 255           |1|
-| Integer ​       | # or none       | -32768 to +32767 ​  |2|+| Integer ​       | # or none ((Using the # sigil for specifying integer type is DEPRECATED and will be removed in the future)) ​      | -32768 to +32767 ​  |2|
 | Float          | %               | ±2.93873588E−39 to ±1.70141183E38|5| | Float          | %               | ±2.93873588E−39 to ±1.70141183E38|5|
 | String pointer ​        | $               |0 to 65535                   |2| | String pointer ​        | $               |0 to 65535                   |2|
 +
  
 ===== Type conversion ===== ===== Type conversion =====