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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
dim [2019/12/09 22:52] neilsdim [2020/01/25 08:43] neils
Line 5: Line 5:
   dim <any variable>[<byte or int x_dim> [, <byte or int y_dim>]] [fast | @<address>]   dim <any variable>[<byte or int x_dim> [, <byte or int y_dim>]] [fast | @<address>]
  
-The ''DIM'' directive defines a variable or an array. See the [[arrays|Arrays]] page for more information about arrays.+The ''DIM'' directive defines a variable or an array __in compile time__. See the [[arrays|Arrays]] page for more information about arrays.
  
 Variables do not need to be predefined, but the ''DIM'' directive allows you to do so. For example you can use ''DIM'' to define fast variables: Variables do not need to be predefined, but the ''DIM'' directive allows you to do so. For example you can use ''DIM'' to define fast variables:
Line 16: Line 16:
  
   dim screen![1000] @ $0400   dim screen![1000] @ $0400
 +