Subj : NodeDiff creation To : Jasen Betts From : Roelof Beverdam Date : Fri Aug 22 2003 10:40 am Hi Jasen, This piece of code of yours puzzles me... Within procedure process you wrote: > : > if(ld1 <> 0 ) then > begin > writeln('D ',ld1); > {$ifdef DEBUG_D} > matchpos:=filepos(f1); > seek(f1,pos1 ); > while(filepos(f1) begin > showline(f1) > {$endif} > end; >if(ld2 <> 0 ) then > : Within the $ifdef / $endif block there is an unterminated begin / end block; the begin is coded within $ifdef / $endif, but I see no matching end. The end following the $endif should match the begin 2 lines before the $ifdef. Or didn't I get the trick? Cheers, Roelof Beverdam --- Dutchie V3.10.11 * Origin: The Beaver's Nest (2:280/5218) .