AMOS:Bug Commands after data statements

From Amiga Coding
Revision as of 00:41, 10 December 2007 by Lonewolf10 (talk | contribs) (Added "Commands After Data Statements Crash AMOS" details)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Commands After Data Statements Crash AMOS

This will crash AMOS:

Data 10,10,20,34,56,98,34,21 : Rem data for image play

This is perfectly fine:

Rem data for image play Data 10,10,20,34,56,98,34,21


NB: Data statements must also be listed before any procedures in your program otherwise the Editor will think they don't exist! For this reason it is best to use Data statements as a temporary measure when programming and put the data into an AMOS Bank once all the data is complete.