I assume you are referring to the Extract Worksheet Data option in the Worksheet Analysis menu.There is no single LabTalkTM command that is equivalent to this option.
LabTalkTM is powerful enough to do the job and the script should not be difficult to write.
I do not know how the C programmers wrote their extraction routine, but knowing the strengths and weaknesses of LabTalkTM, I would write it this way:
wo -d;
for(ii=wks.nrows;ii>0;ii--) {
if(col(B)[ii]<4) mark -d col(1) -b ii -e ii;
};
In this example, I duplicated the worksheet, then proceeded to delete those rows that failed my logic test: col(B)[ii]<4Note that I have used a 'reverse' logic from what I would need to use in the Extract Worksheet Data dialog: col(B)[ii]>=4
[This message has been edited by Greg (edited 12-29-98).]