MC-Basic Arrays

From SoftMC-Wiki
Revision as of 08:50, 21 October 2014 by Rasty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MC-Basic enables definition of arrays of longs, doubles, strings, semaphores, PLS, generic axes and groups, points (joint and/or location) and structures. Array can have up to ten dimensions.

Common Shared array1[5] As long ' array of integers
Common Shared array2[20][40] As double ' array of floating points
dim    Shared array3[100] As string ' array of strings
dim    array4[120] As utf8' array of UTF8 strings
common shared array5[32] As generic axis ' array of generic axes