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
 deleting a row in column a

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
bjlee707 Posted - 06/29/2004 : 06:22:04 AM
I am a beginner to use this LabTalk
I want to delete only the from 1 to 21 in column A in data1 worksheet.
I tried this with
mark -d data1_A -b 1 -e 21;

But it deleted rows from 1 to 21 in all column.
How can I delete the rows in one column?
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 06/29/2004 : 10:59:29 AM
Here's one method...

i1=1; i2=21;
get Data1_A -e npt; // get current # rows in Data1_A
i2++;
npt-=i2-i1; // # rows after deletion
copy -b i2 Data1_A Data1_A -b i1 -e npt;
set Data1_A -e npt;

Mike Buess
Origin WebRing Member

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