I am trying to enable logging to a file from a script. From the script window I can type:
enableLog("H:/ti_regress/logscript.txt");
and logging successfully begins. However, I then try to set up a regression script called "sanity" that begins:
function sanity(){
enableLog("H:/ti_regress/logscript.txt");
}
I get the error:
js:> sanity
ReferenceError: "enableLog" is not defined. (D:\dev_src\netra\script\ldrn_evm.js#156)
Is there some syntax I am missing to incorporate the command into my script?