The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Has Origin some limits on max data to manage?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zangyef Posted - 05/23/2006 : 06:25:33 AM
Origin Version: 6.0
Operating System: WinXP HE

Hi, I have a problem that I'm not able to solve. I import a TXT file into origin worksheet and perform some operation on it. I wrote a script that, with a for loop, search from column A a value (varh, previously stored). When the cell value match the variable stored the script assign the corresponding value from column G to varl variable.
I run the script and with almost all the TXT files a have it works well except one. It seems it don't enter in the for loop because nothing happens. The only difference from this TXT file with the other is the lenght: about 23000 points. So my question is: has Origin some limits on managing a large number of points? I think this is not the problem but I tried everything!
Please, any suggestion?
Thank you


limit originaldata_A;
for (ii=limit.size; ii>1; ii--){
if (originaldata_A[ii]==varh) {varl=originaldata_G[ii]}};


1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 05/23/2006 : 09:58:28 AM
I don't see anything wrong with your script and don't think there are any hidden limitations. However, this accomplishes the same thing more efficiently...

limit originaldata_A;
for(ii=1;ii<=limit.size;ii++) {
if (originaldata_A[ii]==varh) {varl=originaldata_G[ii]; break};
};

and this is even faster...

ii=list(varh,originaldata_A);
if( ii>0 ) varl=originaldata_G[ii];

Mike Buess
Origin WebRing Member

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000