Please enable JavaScript to view this site.

 

This compiler error will occur if there is no matching endwhile keyword following a while keyword.

 

For example:

begin
    nTemp = 10
    while nTemp < 100
        inc(nTemp)
         
end

To prevent this type of errors, always use the method of writing skeleton blocks when using block structures.

 


Topic 109601, last updated on 18-Apr-2020