Filling an array or structure.

enonod

Well-Known Member
Licensed User
I have tried various combinations without success.
can anybody please tell me, if it is possible to fill an array or structure in some way such as...
myArray=[[1,2],[3,4]]

to avoid the tedious...
myArray(0,0)=1
myArray(0,1)=2
myArray(1,0)=3
...
 

enonod

Well-Known Member
Licensed User
@badkarma, that looks interesting thank you, I'll have a play with it.
@agraham, thanks and I'll still look at the reference, there may be something in it.
 

enonod

Well-Known Member
Licensed User
Thank you very much agraham. Sorry I didn't find it myself.
[Edit] Seeing the date I now know why.
 
Last edited:
Top