cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Design forum

Aggregating an array

Anonymous
Not applicable
I'm trying to allow the user to input an arbitrary number of strings and then aggregate them into a single string with custom formatting. Is this possible? The two limitations I have at the moment are allowing the user to expand the array as needed, and then how to iterate over the array without knowing the size "a priori". Is their a function to return the dimensions of an array? Can an array be dynamically resized based on user input?

Thanks in advance.
1 REPLY 1

Ralph Wessel
Mentor
Cleverbeans wrote:
Is their a function to return the dimensions of an array? Can an array be dynamically resized based on user input?
You can get the dimensions of an array with vardim1 and vardim2. For dynamic arrays, take a look at this topic.
Ralph Wessel BArch

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!