Page 1 of 1

Please allow more than one dimension for Structure fields

Posted: Tue Jun 28, 2005 10:16 pm
by Psychophanta
For example:

Code: Select all

Structure Estat
  omega.f[10]
  duration.f[2,8,8]
  turncompleted.b
EndStructure

Posted: Wed Jun 29, 2005 1:19 pm
by Killswitch
Couldn't you do:

Code: Select all


Structure Two
 One.l[2]
 Two.l[6]
EndStructure

Structure One
 Dimensions.Two[8]
EndStructure


Posted: Wed Jun 29, 2005 2:56 pm
by Psychophanta
Killswitch, thanks, but sorry, i know how to do those things.
That is not what is requested. 8)

Posted: Wed Jun 29, 2005 5:53 pm
by Killswitch
No problem, 'twas just a suggestion.

Make PB easy'er for porting C headers

Posted: Wed Jun 27, 2007 3:48 pm
by Philippe-felixer76
:P

Posted: Wed Jun 27, 2007 6:37 pm
by SCRJ
Would be nice :D

Posted: Thu Jun 28, 2007 1:48 am
by Kaeru Gaman
I agree...

sure it's not that big problem to do the multiplication of dimensions yourself...
but it would be nice and even no big problem if the compiler does it...

Posted: Fri Jun 29, 2007 5:08 pm
by Chrono Syndrome
Good idea.