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 revision | Next revisionBoth sides next revision | ||
variables [2019/06/27 07:45] – neils | variables [2019/07/29 09:25] – [Variable definition] neils | ||
---|---|---|---|
Line 16: | Line 16: | ||
let b = 2 | let b = 2 | ||
+ | ===== Fast variables ===== | ||
+ | |||
+ | Since version 2.1, some variables can be placed on the zeropage for faster load/store operations. You can use the '' | ||
+ | |||
+ | dim myFastVar fast | ||
+ | | ||
+ | This is limited however (max 15 bytes currently). The compiler will emit a warning if no more variables can be placed on the zeropage. | ||
===== Types ===== | ===== Types ===== | ||