[Implemented] multidimension in structure fields

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

[Implemented] multidimension in structure fields

Post by Psychophanta »

It would be very good if would be possible to do this:

Code: Select all

Structure pp
  e.l
  d.w[2,4]
  r.l[8,8,3]
EndStructure
(See dynamic array in structure 'Array Test(1,2,3)')
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

Yes.

But as long as it's not implemented, you can do like this

Code: Select all

Structure Column
  a.l[3]
EndStructure
Structure Matrix
  a.Column[3]
EndStructure
Post Reply