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

Reply via email to