Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
variables [2019/07/29 09:25] – [Variable definition] neils | variables [2020/01/31 22:58] (current) – [Types] neils | ||
---|---|---|---|
Line 25: | Line 25: | ||
===== Types ===== | ===== Types ===== | ||
- | The type of a variable is defined | + | The type of a variable is specified |
^ 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 | + | | Integer |
| Float | % | ±2.93873588E−39 to ±1.70141183E38|5| | | Float | % | ±2.93873588E−39 to ±1.70141183E38|5| | ||
| String pointer | | String pointer | ||
+ | |||
===== Type conversion ===== | ===== Type conversion ===== | ||
Line 106: | Line 107: | ||
Variables, constants and labels can be global or local. | Variables, constants and labels can be global or local. | ||
- | Any variable or constant declared using a '' | + | Any variable or constant declared using a '' |
Any variable or constant declared using a '' | Any variable or constant declared using a '' |