[fpc-pascal] a proposal about "with" syntax

Marco van de Voort marcov at stack.nl
Sun Mar 17 13:54:42 CET 2013


In our previous episode, Sven Barth said:
> >
> > Texas Instruments' Pascal had an extension of the with statement, IIRC
> > it used = instead of AS
> >
> > With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
> 
> Now THAT is really unpascalish... either ":=" or the already suggested 
> "as"...

Since it is a pseudo variable declaration, I would assume VAR syntax and
just use ":" ?



More information about the fpc-pascal mailing list