[fpc-pascal] EmptyStr

Ernest V Miller miller_ev at etk.ru
Tue Mar 26 10:39:24 CET 2013


Hello!

Why  assigning EmptyStr as default value in signature is not allowed while
using it in body is OK?
Using fpc 2.6.0

function GroupThread.applyReflectRules(currIndex : integer; out skip :
Boolean; beforeIndexSearch : Boolean = false;
                        entity : StrFix = EmptyStr) : string;
// Error: Illegal expression






More information about the fpc-pascal mailing list