Is this well done?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Is this well done?

Post by Psychophanta »

Is this code well done?

Code: Select all

Structure a
  b.l
  *c.l
EndStructure
var.a
*var\c=2
Obviously it is not well done, because it is not the same var.a than *var.a, so why PB syntax doesn't allow var\*c=2 in order we can see in the code whether there is a pointer field or not in a structure?

On the other hand; does *v.tru means that *v.tru is a variable pointer which is intended to point to a tru structure? Or in fact it is the same to define it as *v.tru or *v.l ? What's the difference?
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;