Marco van de Voort wrote:
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 ":" ?
Are there any reputable cases where both type and value need to be
specified separately?
with foo: TSomeType= TSomeType(list.objects[i]) do
-- MarkMLl
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal