061900 if CusNr = 17570000 and Group = '291' or : 063900 CusNr = 13057710 and Group = '001'; 063901 CusNr = 00077837 or 063902 CusNr = 00042059 or 063903 CusNr = 00071625 or : 063908 CusNr = 00079357 and 063909 %scan(Group : '001 002 021') <> 0 or 063910 CusNr = 00077787 and 063911 %scan(Group : '087 329') <> 0; *RNF7416 30 063909 The types of the right and left hand side do not match in the EVAL operation.
Took me ages to figure out that I'd not changed the semi-colon at line 63900 to "or", so that the If statement was extended by the new conditions. But really? The compiler decided that the error was on the %scan line, that was part of the unintentional eval that began at 63901 and extends to 63911?? Ok, I finally understood what the error was when I paged back far enough to find the semi colon, but could we report either the first occurrence of bad logic (or last), just not one in the middle!!