2016-02-01 13:15 GMT+01:00 Maciej Izak <hnb.c...@gmail.com>:

> 2016-02-01 13:09 GMT+01:00 Michael Van Canneyt <mich...@freepascal.org>:
>>
>> No. The compiler already uses &.
>>
>> & means 'the following is an identifier even if it is a keyword'.
>>
>> You can perfectly declare and compile:
>>
>> Var
>>   &if : integer;
>>
>> begin
>>   &if:=1;
>> end.
>>
>> So &if is a bad idea.
>
>
> Yes it is possible. Anyway it is better idea than IfThen. You treat facts
> selectively. How often is used &if and how often is used IfThen?
>
> &IfThen looks also good (I like shorter syntax &if). With "&" prefix it is
> obvious that this function is unique.
>

you can even perfectly declare and compile:

var
  inc, dec, chr: integer;
  ifthen: integer;
  &whatever: integer;

It means that inc/&if intrinsic name is bad? Srsly?

-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to