License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2021-07-13
08:44 AM
- last edited on
2021-09-14
09:00 AM
by
Noemi Balogh
DIM myArray[][] myArray[1][1] = 500 myArray[1][2] = 510 myArray[2][1] = 600 myArray[2][2] = 610 myArray[2][3] = 620 myArray[3][1] = 700 myArray[3][2] = 710 myArray[3][3] = 720 myArray[3][4] = 730VARDIM1(myArray[1])
2021-07-13 08:48 AM
2021-07-13 08:52 AM
2021-07-13 09:04 AM
2021-07-13 09:07 AM
dushyant wrote:What do you call sub-array? Could you refer to GDL manual page about (and provide AC version)? Because one of us does not understand it correct.
Because I need the size of the sub-array myArray[1] (that is the value 2 in my example) and not the entire parent array myArray
2021-07-13 09:15 AM
Podolsky wrote:Yes, but I don't need that.
So, VARDIM1(myArray) will give you 4 and VARDIM2(myArray) will give you 3.
2021-07-13 09:25 AM
Podolsky wrote:
So, VARDIM1(myArray) will give you 4 and VARDIM2(myArray) will give you 3.
2021-07-13 09:28 AM
2021-07-13 09:29 AM
Derived Types
Variables and parameters can also be arrays, and parameters can be value lists of a simple type.
Arrays are one- or two-dimensional tables of numeric and/or string values, which can be accessed directly by indexes.
2021-07-13 09:31 AM