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

Sven Barth pascaldragon at googlemail.com
Sun Mar 17 13:16:08 CET 2013


On 17.03.2013 11:42, Paul Ishenin wrote:
> 17.03.13, 18:25, Sven Barth пишет:
>>> With a=VeryLongNameForARecord, b=AnotherRecordWithAVeryLongName do ...
>>
>> Now THAT is really unpascalish... either ":=" or the already suggested
>> "as"...
>
> Why? Constants and Types are also use '=' instead of ':=' for assignments.

But we aren't in a constant or type section here. Also one uses ":=" in 
the for-loop header.

Regards,
Sven




More information about the fpc-pascal mailing list