Very frustrating problem I've never seen with WR before.
I am loading a library of custom code that includes a bunch of string handling functions like left() and right() etc.
No apparent errors when starting WR, the lib is called from tslinit().
I call the func right() in a script. The first couple of times I run the script all is well. Then if I run it a 3rd or 4th time, all of a sudden there's a problem. WR stops at the line w/ the call to right() and kicks out the message: "Undefinied function called: right".
Any ideas? Thanks in advance!
For what it's worth the call and definition are:
szYear = right(date, 4);
public function right (in str, len)
return substr(str, length(str)-len+1);