Doh! These atavisms here and there and backward compatibilities scattered
around units..
It was Borland's hack to introduce typed constants and I wonder these
ancient workarounds
are still declared between ordinary initialized variables.

fpc-pascal-boun...@lists.freepascal.org написано 26.03.2013 18:12:29:

>
> On 26 Mar 2013, at 10:39, Ernest V Miller wrote:
>
> > Why  assigning EmptyStr as default value in signature is not allowed
> > while
> > using it in body is OK?
>
> Because default paramater have to be (symbolic) constants. EmptyStr is
> a typed constant, which is the same as an initialized variable.
>
>
> Jonas
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to