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
 to activate worksheets, number of rows.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pcvolkmar

Germany
Posts

Posted - 09/13/2005 :  04:50:41 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System: win xp

Hello,
Im working with some worksheets:

P1984BD3S6V
P1984BD3S8V
...
P1984BD3S10V
P1984BD3S12V
VLambda1nm


In each one of the worksheets of the type: P198**V I try to do some operations associated to the VLambda1nm worksheet, and it is why this worksheet(VLambda1nm) cannot be modified.

doc -e W {
%A=%H;
if(%A!="Vlambda1nm"){
win -a %A;
worksheet -a 4 ;
worksheet -n 1 Wlnge;
worksheet -n 2 Counts;
worksheet -n 3 Vlambda;
worksheet -n 4 VC;
worksheet -n 5 IVC;
worksheet -n 6 IC;
worksheet -n 7 K;
break;
}
};

For the first worksheet, it executes well.But If I want to do the same wiht the other Worksheet,then these commands always repeat for the first worksheet that the program selected .

I do not know to do that the script is executed for all the worksheets.
Thanks a lot.
PcVolkmar.

Mike Buess

USA
3037 Posts

Posted - 09/13/2005 :  08:16:31 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Just remove the break command which stops the script after the first worksheet.

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