What is the advantage of defining function werror first?
werror is used here and there in the master itself, which would not see the add_constant.
/ Per Hedbor ()
Previous text:
2004-07-04 18:40: Subject: Re: Warnings from startup script
Per Hedbor () @ Pike (-) developers forum wrote:
function werror = Files()->_stderr->write;
towards the beginning, and add_constant( "werror", werror ); close to the 'add_constant("write", ... )' code.
What is the advantage of defining function werror first? Why not simply use:
add_constant("werror", Files()->_stderr->write);
?
Sincerely, srb@cuci.nl Stephen R. van den Berg (AKA BuGless).
"Good moaning!"
/ Brevbäraren