Hello Mike Cook
To Dimensiion an array, you're almost correct. But you cant use a variable when first "DIMMING" the array like you show: DIM a$(N). You must first use a numeric value where you used "N", then REDIM the array using a variable or other number:
Dim a$(0)
Let n=4
Mat Redim a$(n)
Same for multi dimensioned arrays. E.g., say you want an array with some number of rows, each with 4 columns:
DIM z(0,4)
rows=12
MAT REDIM z(rows,4)
There's a bit more than just this involved in using arrays, depending what you are trying to accomplish.
If you haven't already, it may be helpful to download the SILVER (or GOLD) pdf manual, which covers everything TB can do. Most of the explanations therein are good.
Hope this is helps. Any other questions, I will try to help.
Regards,
Mike C.