in reply to Re: Problem in using range operator
in thread Problem in using range operator
Actually here I am using the range operator more of a flipflop boolean state operator for the left and right operand. I am using the STMT?=BEGIN and STMT?=END as begin and end markers in the data file. My problem is I can have any number of these sort of blocks. The outer most block is the RULE & END. This too can be in multiple numbers. I am using the NUMOFRULES to have the number of the STMT? blocks in the data file. I know that the for loop is printing the same line as many times as NUMOFRULES value. I tried using flags. But could'nt get it right.