Origin Ver. 8.0 and Service Release 6 (Select Help-->About Origin):
Operating System: Win 7
I want to delete every 3rd row of a worksheet. I found an example of how to do this is the LabTalk Scripting Guide.
However, when I try to run the code, all I get is a not very helpful
#Command Error! message.
Any idea what is wrong?
Here is the code I'm trying to run:
int ndel = 3;
range rr = col(1);
nrows = rr.GetSize();
int nlast = nrows - mod(nrows,ndel);
for(int ii = nlast; ii > 0; ii -=ndel)
{
range rr == wcol(1)[$(ii):$(ii)];
mark -d rr;
}
Many thanks.