an array of pointers

Just starting out? Need help? Post your questions and find answers here.
two_bits
User
User
Posts: 15
Joined: Sat Oct 04, 2003 6:52 pm

an array of pointers

Post by two_bits »

Hi everyone, how would i have a multidimensial array of pointers to my custom data type? Ive searched the forums and cant anything.
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

Code: Select all

Structure MyCustomDataType
    a.w
    b.l
EndStructure

Dim *foo.MyCustomDataType(25, 69)
Should do it.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
two_bits
User
User
Posts: 15
Joined: Sat Oct 04, 2003 6:52 pm

Post by two_bits »

Thanx a lot dude :)
Post Reply