Wed, 10/06/2010 - 08:55 am
Please can we have a working /Z flag for LoadWave? I'd quite like to be able to attempt to load (potentially) empty files for the purpose of checking whether they contain any data without the debugger popping up in my face repeatedly.
In fact there is a general technique. Though cumbersome, it does do the job:
DebuggerOptions // Get current state
Variable temp = V_debugOnError
DebuggerOptions debugOnError=0
LoadWave/G "Clipboard"
Variable err = GetRTError(1)
Print "Error", err
DebuggerOptions debugOnError=temp
End
October 6, 2010 at 03:13 pm - Permalink