next up previous contents
Next: Data types Up: Programming Help Previous: More about printing

Arrays and matrices

   Vectors and matrices are handled as arrays. They need to be declared to reserve room in memory. This is accomplished by the dimensioning statement
tt DIM ArrayName (Size1, Size 2, Size 3).
For instance DIM A(100) specifies a vector, DIM A(20,50) defines a tex2html_wrap_inline1725 matrix. Arrays use up a lot of memory, so don't declare arrays larger than what you need, and pay attention to data typedata type, see Section Data types.



Send comment