OriginPro 2023 (64-bit) Beta 2 10.0.0.58
Windows 7 Pro SP1 x64
Greetings!
I want to get a column with sums of rows (starting from column 2) in wks 1.
The following code works correctly:
sum(FirstSheetName$!,2,0)
string FirstSheetName = [%H]1!layer.displayname$;
However the following code:
sum([%H]1!layer.displayname$!,2,0)
or
sum(%([%H]1!layer.displayname$)!,2,0)
returns a column of "--".
What is the reason for this?
How do I use the LT phrase returning the 1st sheet name directly?
Thank you.
---
Andrey