Page 1 of 1

Is this well done?

Posted: Tue May 10, 2005 9:45 am
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?