[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Null                     Does Nothing                          Statement Type

    The null statement is implied whenever the Pascal syntax requires the
    presence of a statement but the user puts no statement in. As you
    might guess, a null statement does nothing.

  -------------------------------- Example ---------------------------------

           for I := 1 to 1000 do
              ;                     { Null Statement }

           repeat                   { Null Statement }
           until Keypressed;

           if A = B then begin
             Write('Enter another value:  ');
             Readln(C);             { semicolon not needed before END }
           end;

See Also: conditional iterative compound
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson