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 | ||
data [2019/05/07 08:05] – neils | data [2019/09/19 08:00] (current) – neils | ||
---|---|---|---|
Line 9: | Line 9: | ||
data varname![] = incbin " | data varname![] = incbin " | ||
- | The '' | + | The '' |
- | rem ** this will print: 9 | + | If the right-hand side of the assignment is an '' |
- | data squares[] = 0, 1, 4, 9, 16 | + | |
- | print squares[3] | + | Example with value list: |
+ | |||
+ | | ||
+ | data squares[] = 0, 1, 4, 9, 16 | ||
+ | print squares[3] | ||
+ | |||
+ | Example with '' | ||
+ | |||
+ | rem -- load a sprite | ||
+ | data sprite![] = incbin " | ||
'' | '' |