cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
TomWaltz
Participant

VARDIM syntax?

I'm trying to get the number of elements in a 2-dimensional array. I suspect VARDIM2 will do that, but does anyone know how Archicad returns the number of elements in each dimension of an array?
Tom Waltz
3 Replies 3
Anonymous
Not applicable
Tom,

VARDIM1 and VARDIM2 do the trick. The result returns a numerical expression.
Or may be i don't understand your question.
Anonymous
Not applicable
For example, the array has 3 rows and 5 columns.
VARDIM1 return the number of rows.
VARDIM2 return the number of columns.
TomWaltz
Participant
Valery wrote:
For example, the array has 3 rows and 5 columns.
VARDIM1 return the number of rows.
VARDIM2 return the number of columns.
That's what I was trying to figure out. Thanks!
Tom Waltz

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!