Page 1 of 1

[Implemented] structure types

Posted: Tue May 31, 2005 7:09 pm
by Trond
I want to be able to do something like this:

Code: Select all

structure Plane
  wings.l
  seats.l
  cargo.b
  manufacturer.s
endstructure

myplane.Plane

;you must currently do:
myplane\wings = 454

;i want to do either this:
myplane.Plane\wings.l = 454

;or this:
myplane\wings.l = 454

;preferably i would be able do what I want to.

I also want to able to use labels with the same text. (local labels if you want) As I think I head someone say PB is a one-pass compiler, this shouldn't be any technical problem, just let the last label be the used one.