====== DIM ====== Syntax: dim [ [, ]] [fast | @] 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: dim myFastVar fast 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