- Dim
- ---------------------
- Different
to basic
-
-
- To allocate space i.e. Dim
n% 1000
you now use the Allocate
function.
-
- Use: Dim
is only used for arrays in WimpBasic.
-
- Example:
- Rem Create
and initialise an array.
- DIM fred(100,100)
-
- Rem Function
gives the number of dimensions.
- DIM(fred())
-
- Rem Function
gives the size of the n'th dimension.
- DIM(fred(),n)