T O P I C R E V I E W |
Davek |
Posted - 02/24/2014 : 10:16:34 AM I'm reading the text from a graph assigning it to %A and then trying to add %A to string array. THis does not seem to work any suggestions much appreciated. The %A and %B are correctly read just not added toe the array, I sure I'm missing something simple.
Script below
shortname.SetSize(0);// clear array Labels1.SetSize(0); // Clear array StringArray Labels1; StringArray ShortName; doc-e LW { %A=plot.text$; Labels1.Add(%A); ShortName.Add(%C); %A=; %C=; }
Thanks DaveK |
1 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 02/24/2014 : 10:43:12 AM Hi,
I tested your script and didn't see and problem. Maybe you used the wrong way to read the array? You need to use "GetAt" method to read a array, for example:
str1$ = shortname.getAt(1)$; str1$ =;
Zheng OriginLab |
|
|