[fpc-devel] Semicolon before else

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Jan 26 12:23:39 CET 2010


Graeme Geldenhuys wrote:
> 
> Example where 'do_3 is part of the case statement:
[...snip...]

> Example where 'do_3' is part of the '2' if/else statement:
[...snip...]

Oops, in both examples I forgot the semi-colon after the '2' in the case
statement. Copy and Paste is evil. :)



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list