next up previous contents index
Next: Printing Up: Statements Previous: Expressions as Statements

Empty Statement

 

      A lone ``;" is treated as an empty, do-nothing statement. For example,

    if ( x )
        ;
    else
        print "not x"
is equivalent to
    if ( ! x )
        print "not x"
(see § 5.4, page gif).



Thu Nov 13 16:44:05 EST 1997