DIM is BASIC, this forum is for PIC BASIC.
From the manual:
Robert4.5. Arrays
Variable arrays can be created in a similar manner to variables.
Label VAR Size[Number of elements]
Label is any identifier, excluding keywords, as described above. Size is BIT, BYTE or WORD. Number of elements is how many array locations is desired. Some examples of creating arrays are:
sharks var byte[10]
fish var bit[8]




Bookmarks