Origin Ver. : OriginPro8 Sr4
Operating System: Xp Sp2
Hi everybody!
I’ve got a problem with the substitution command:
Xmin=%([%H]Sheet1, 2, 1) ; //Store the content of row 1, column 2, Sheet1 of the active book to Xmin variable.
Xmax=%([%H]Sheet2, 2, 1) ; //Store the content of row 1, column 2, Sheet1 of the active book to Xmax variable.
The two cells are obviously not empty (row 1, column 2, Sheet1 & 2); but when the script is executed, the first line works fine whereas the second return the following error (in the Classic Script Window):
Error: %
LabTalk expression error: 2
If these line scripts are executed from the command window, I get the following result:
385=385
% ([%H]Sheet2, 2, 1)=--
Does anyone understand what is wrong?