-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
using dimensioned arrays
using dimensioned arrays
-
the_apache
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
3 years 6 months ago #23575
by the_apache
hi guys,
i would like to know how to declare dimensioned arrays at runtime, assign data at specific positions and then retrieving the data.
i have something like below, but i am getting "I" as output for all.
X = 2
Y = 3
DIM NEW.ARRAY(X,Y)
NEW.ARRAY<1,2> = 'H'
NEW.ARRAY<2,3> = 'I'
FOR V.Y = 1 TO Y
FOR V.X = 1 TO X
CRT 'Element #' : V.X : ',' : V.Y : ' is ' : NEW.ARRAY<1,X,Y>
NEXT V.X
NEXT V.Y
Please Log in or Create an account to join the conversation.
-
VK
-
-
Offline
-
Platinum Member
-
-
Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
-
Posts: 1209
-
Thank you received: 158
-
-
-
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
using dimensioned arrays
Time to create page: 0.034 seconds