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
deleting a row in column a
New Topic
Reply to Topic
Printer Friendly
Author
Topic
bjlee707
Germany
Posts
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?
Mike Buess
USA
3037 Posts
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
Topic
New Topic
Reply to Topic
Printer Friendly
Jump To:
Select Forum
Origin Forum
Origin Forum
Origin Viewer Forum
Origin Learning Edition Forum
Origin Forum for Programming
Forum for Python
Forum for Origin C
Forum for Automation Server/COM and LabVIEW
LabTalk Forum
Origin中文论坛
Origin 中文论坛 (Chinese Origin Forum)
Japanese Origin Forum
Origin日本語フォーラム (Japanese Origin Forum)
Origin on Linux
The Origin on Linux Forum
Private Forums
Distributor Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000