2013/3/18 Marco van de Voort <mar...@stack.nl> > In our previous episode, Xiangrong Fang said: > > > In our previous episode, Xiangrong Fang said: > > > > Alternatively, how about just use SPACE to separate the token? i.e.: > > > > > > > > with SomeObject o1, SomeOtherObject o2 do.... > > > > > > That's perfectly fine for C. But this isn't C. > > > > What's wrong here? In pascal, we also see space used in similar way: > > Never between type and variable/alias name and never in the order > type[space]variable >
This is not the case, as the thing before space is NOT a type but a variable. In my feeling things un-pascal is extensive use of "weird" symbols... :-) I cannot recall if there is already a notion of "alias" in free pascal, if not then we just introduce this idea within the scope of "with" expression.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal