In your latest "Beta Version (2.7.2.1)", I've run across the following problem: Command: gpc test.pas test.pas: In function `program_Test': test.pas:13: invalid operands to binary = test.pas:13: condition must be of Boolean type PROGRAM Test; TYPE Colors = (Yellow, Orange, Red, Purple, Green); VAR ThisColor : Colors; BEGIN ThisColor := Purple; IF ThisColor >= Yellow THEN BEGIN WRITELN ('>= Yellow'); IF ThisColor = Purple THEN (* THIS IS LINE 13 *) WRITELN ('Purple'); END; END. Any ideas or fixes? Phil ------------------------------------------------------------------------- Philip A. Robertson <phil_robertson@gilbarco.com> Gilbarco Inc. F-78 Phone (910) 547-5164 7300 W. Friendly Ave Fax (910) 292-8871 Greensboro, NC 27410 -------------------------------------------------------------------------
participants (1)
-
Phil Robertson