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
 how to update script files???

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
CYNDIRILEY Posted - 07/06/2012 : 11:08:53 AM
I don't know if I am in the correct forum but I hope I am.

I am updating my files from Origin 6.1 to Origin 8.1 and my worksheet scripts won't work. I was wondering if someone could help me.

I am trying to get data from one column and put it in another. This is the script I have that will not work anymore.

for(i=1,j=1;i<200;i+5,j+1){col(U1)[j]=(col(WATEREL.)[i])}

If someone could help me update this to work I would really appreciate it.

Thanks
3   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 07/11/2012 : 1:24:23 PM
Of course for only 200 rows it won't make much difference, but here is the Origin 8.1 way of doing it:

range rin = col(WATEREL.);
range rout = col(U1);
wdelrows ir:=rin del:=4 start:=2 orng:=rout;
CYNDIRILEY Posted - 07/11/2012 : 07:52:12 AM
Thank You, I will do that.
Laurie Posted - 07/06/2012 : 6:17:48 PM
I tested that script here and it runs fine; however, I tried with a new project file created in Origin 8.x.

It might be best if you can email us at tech@originlab.com. You can include your Origin project file. The column name with the '.' at the end looks a bit odd.

Thank you.

OriginLab Technical Support

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