| T O P I C R E V I E W |
| liujibao |
Posted - 02/26/2004 : 9:27:03 PM I find the command "mark -d data1_A -b 2 -e 3" and the "DeleteRow" is same action. Then I have a question: what is the meaning of data1_A? why isn't it "data1" directly? Is it a bug?
Edited by - liujibao on 02/26/2004 9:28:38 PM |
| 3 L A T E S T R E P L I E S (Newest First) |
| greg |
Posted - 02/27/2004 : 10:05:11 AM Although you specify a Dataset name, the entire row is deleted as specified in the documentation.
"[The] reason for dataset name was historical, [it's] easy to get %C to del row in its wks"
We can add an option switch to limit the deletion to the specified dataset, as in: mark -dc data1_b -b begrow -e endrow;
In the meantime, you can use the not-recommended DoMenu macro: DoMenu 36442; which uses the menuid of the Edit : Delete option.
Edited by - Greg on 02/27/2004 10:05:51 AM |
| liujibao |
Posted - 02/27/2004 : 12:01:00 AM Thank you for answering my question!
--------------------------------------------------------------------- quote: "mark -w1" is the same. Note1: You must first specify the range using the worksheet -s c1 r1 c2 r2 command. For example: worksheet -s 1 2 1 4; //set range to rows 2 - 4 in column 1 mark -w1 Data1_A; //mask this range of data ---------------------------------------------------------------------
My meanings is why it is Data1_A ,not Data1. Certainly,the command "mark -w1 Data1" is also right. But Data1_A give users a wrong feeling: I operation the command only the Data1_A ,not All worksheet columns! but it is contrary in fact! I only want to operation the specified column,such as the command "mark -w1". Do you help me? Thanks! |
| Mike Buess |
Posted - 02/26/2004 : 10:06:12 PM It works exactly as documented in the LabTalk Programming Guide...quote: mark -d dataset [range] If dataset is in a worksheet, this command deletes the specified rows from the worksheet.
data1_A is a dataset (column A) in the worksheet data1.
Mike Buess Origin WebRing Member |