Help for this page
if ($recordtype eq '$') { ... } #Inrement starting position for the next loop $currentpos += $recordlength;