MC-Basic Arrays

From SoftMC-Wiki
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