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 | ||
dim [2019/07/29 09:19] – neils | dim [2020/01/25 08:58] (current) – neils | ||
---|---|---|---|
Line 3: | Line 3: | ||
Syntax: | Syntax: | ||
- | dim <any variable> | + | dim <any variable> |
- | The '' | + | The '' |
Variables do not need to be predefined, but the '' | Variables do not need to be predefined, but the '' | ||
Line 12: | Line 12: | ||
| | ||
Read more about fast variables on the [[Variables|Variables]] page. | Read more about fast variables on the [[Variables|Variables]] page. | ||
+ | |||
+ | Since version 2.2, you can explicitly tell the compiler where in the memory the variable or array will reside, for example you can map the screen to an array as follows: | ||
+ | |||
+ | dim screen![1000] @ $0400 | ||
+ | |