[fpc-pascal] EmptyStr

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 26 11:12:29 CET 2013


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




More information about the fpc-pascal mailing list