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 for Programming
 LabTalk Forum
 wortksheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bajra

USA
Posts

Posted - 02/04/2006 :  06:46:42 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5,6.0
Operating System:xp
Hi
In the worksheet,how can you subtract the values from the whole columns to the last coulmn?

Mike Buess

USA
3037 Posts

Posted - 02/04/2006 :  10:15:55 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It's not clear what you mean by that but I see two possible interpretations:

1. This will subtract the last column from all other columns in the active worksheet...
loop (i,1,wks.ncols-1) {wcol(i) -= wcol(wks.ncols)};

2. This will subtract all other columns from the last column...
loop (i,1,wks.ncols-1) {wcol(wks.ncols) -= wcol(i)};

Maybe one of those solutions will work?

Mike Buess
Origin WebRing Member
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