Page 1 of 1

[Fixed] UDC - Load Script File - Function bug

Posted: 21 Apr 2015 12:33
by highend
Imagine the following script:

Code: Select all

    text returnValue();

function returnValue() {
    return "a";
}
Save it to "<xyscripts>\test.xys"

Load it via "Scripting"
- Load Selected Script File
- Load Script File...

or via Run Script... (and paste it).

Do it twice. Before the second turn, change the "a" in the script to "b".

All invocation methods work flawlessly. They return "b" instead of "a" on the second run.

But now create a UDC
Category: Load Script File
Script File <xyscripts>\test.xys

First run: Fine, it reports "a".
Second run (change the "a" to "b" again): It still reports "a"!

Re: UDC - Load Script File - Function bug

Posted: 21 Apr 2015 15:15
by admin
Confirmed and fixed, thanks!

Re: UDC - Load Script File - Function bug

Posted: 21 Apr 2015 16:43
by highend
Fixed in v15.00.0501

Thanks!