Nested structures ?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.

Could anyone post a working example, how to use "nested structures" please ?
(The short example in the manual isn't enough for newbies... ) Thanks !


Regards
André

*** German PureBasic Support ***
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Structure Wheel
radius.l
texture.l
EndStructure

Structure Bike
Front.Wheel
Rear.Wheel
EndStructure

RedBike.Bike\Front\radius = 100
RedBike\Rear\radius = 50

...

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Andre.

Thanks a lot !

Regards
André

*** German PureBasic Support ***
Post Reply