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 | Last revisionBoth sides next revision | ||
data [2019/05/07 08:05] – neils | data [2019/05/07 08:12] – 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 " | ||
'' | '' |