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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to add a column with Origin C script to a wor?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jenskruse

Albania
Posts

Posted - 06/05/2008 :  3:57:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 8
Operating System:xp

how can I add a column to my worksheet and do some mathematics? I would like to do same things like in the "set column value" men but from a lab talk script.

thanks a lot,

jens

Edited by - jenskruse on 06/05/2008 5:07:13 PM

Edited by - jenskruse on 06/05/2008 5:08:02 PM

Edited by - jenskruse on 06/05/2008 6:04:11 PM

greg

USA
1380 Posts

Posted - 06/10/2008 :  3:04:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
worksheet -add 1;

adds one column which may be filled with something like

wcol(wks.ncols) = 2 * col(1) + col(2);


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000