Hello,
This is a Labtalk code that shows a variable spontaneously modified during the program execution under Origin 2018b :
/* Delete global variables */
delete -v *;
/* Initialize parameters */
/* Number of weeks */
NumberOfWeeks=24;
/* Variable used to pass the result of a user defined macro */
Result=0;
/* Variable used to pass the result of a user R macro */
gVal=0;
/* test */
type -c "Step 0, gVal: " $(gVal);
create TEST -w 2 Week Number;
type -c "Step 1, gVal: " $(gVal);
win -cd TEST;
/* end test */
The gVal variable value (0) should not be modified but it is :
gVal = 4.3287
Anyone to reproduce this issue?
The same code executed under Origin 2015 does not show the issue.
Origin Ver. and Service Release : OriginPro 2018b (64-bit) b9.5.5.409
Operating System: Windows 8.1