I'm quite neutral in the matter of
. Just to note, there is already sort of a convention in naming functions, that is a three letter abbreviation, eg,
, maybe others.
In any case, it could be nice to have a positional directive to enable / disable / set options for such functions, eg,
would ignore all debug functions when parsing the script, example,
Code: Select all
dbgPrint 'abc' ; Not going to happen
dbgPrint 'abc' ; will show in stdout
dbgPrint 'abc' ; will show in msgbox
The directive could also apply (on / off) to udfs, named eg,
Obviously there will be problems if such functions are used in an expression, eg,
#debug off `n if dbgPrint('abc')
, I think it is ok though.