Since I am converting my list over to arrays. I was wondering can you set an array to a type such as this:
type test
Field a:Int
Field b:Int
End Type
Ttest:test[10,10]
can could you access it buy doing the following:
print Ttest[1,1].a
now when I put an item into the array it doesn't do what I expect.
Ttest[1,1].a=2
makes every single a field 2. Is there some way for me to have this kinda of access, do I just have the syntax wrong?
Thanks in advance
type test
Field a:Int
Field b:Int
End Type
Ttest:test[10,10]
can could you access it buy doing the following:
print Ttest[1,1].a
now when I put an item into the array it doesn't do what I expect.
Ttest[1,1].a=2
makes every single a field 2. Is there some way for me to have this kinda of access, do I just have the syntax wrong?
Thanks in advance