My alternative in those cases is
code:
if 0
; this code doesn't work!!!
$X = MyFunc("myArg',6,'23")
endif

or when getting fancier
code:
$debug=1
if not $debug
; this code doesn't work!!!
$X = MyFunc("myArg',6,'23")
endif

conveniently controlled at the beginning of a script. That is actually why I need a @KIXEXE macro. Then I can automatically run a script in debugging mode via KIX32.EXE and in clean console-less mode via WKIX32.EXE
_________________________
There are two types of vessels, submarines and targets.