Re: [fpc-pascal] EmptyStr

2013-03-26 Thread Ernest V Miller
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

Re: [fpc-pascal] EmptyStr

2013-03-26 Thread Jonas Maebe
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. Jon