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
 Origin Forum
 delete worksheet rows (LabTalk)

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
lorenzm Posted - 10/15/1998 : 7:40:00 PM
How can I delete single worksheet rows with
a LabTalk script. The command 'mark -d' is not working well:

That works: mark -d name_column -b 10 -e 10;
That is not working:
for (k=1;k<80;k+=2) {
mark -d name_column -b k -e k;
};
Origin Version 4.10

[This message has been edited by lorenzm (edited 10-16-98).]

1   L A T E S T    R E P L I E S    (Newest First)
paulwel Posted - 10/16/1998 : 7:10:00 PM
I tried it with both 4.1 and 5.0 and it works fine. Of course you have to remind that if you throw away the first row, all the next rows shift up one place so you have to be sure what you do: if the k used in your script becomes larger than the index of the last row filled in the worksheet, you get a command error. If you want to throw away every other point you better start with the last row like:
for (k=80;k>=1;k-2){etcetera}

Paul

[This message has been edited by paulwel (edited 10-16-98).]


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