You can put a SHARED cmd
inside the Statement, e.g. in the furst line.
Code:
Statement foo{}
SHARED mydim()
...
End Statement
All variables can be 'shared', so you can list them one after each other, e.g.
Code:
SHARED mydim(), counter.w, *rport.RastPort
This is the common way. Pointers of arrays are possible, too. I would rather not call this 'basics'.