Origin Ver. 8.1G SR1
Hi there,
I'm fairly new to Origin and to its scripting language but I could manage a nice working script so far. One thing though:
Is there a way of comparing each row of a worksheet with each row of another worksheet and dropping all matching values a more elegant way? This is my way of doing this: 
range rwA=[%B]DATA_ALL!;
int numrowsA=rwA.maxRows;
range rwM=[%B]MERGE!;
int numrowsM=rwM.maxRows;
int match=0;
loop(ii,1,numrowsA)
	{
	match=0;
		loop(xx,1,numrowsM)
			{
				if([%B]DATA_ALL!Cell(ii,1) == [%B]MERGE!Cell(xx,1))
					match=1;
			};
		if(match == 1)
			{
				[%BnoGK]COMP!Cell(ii,1) = "";
				[%BnoGK]COMP!Cell(ii,2) = "";
				[%BnoGK]COMP!Cell(ii,3) = "";
			};
		else
			{
				[%BnoGK]COMP!Cell(ii,1) = [%B]DATA_ALL!Cell(ii,1);
				[%BnoGK]COMP!Cell(ii,2) = [%B]DATA_ALL!Cell(ii,2);
				[%BnoGK]COMP!Cell(ii,3) = [%B]DATA_ALL!Cell(ii,3);
			};
	};
These recursive loops take a lot of time to complete and I have to cleanup all "blank" rows afterwards. Did aynone came up wit a more elegant LabTalk way?
Best regards
B. Przybyla