if i_Error <> 0 then
        begin
        d_SalesTax := 0;
        end;
     else  <---line that is giving me the error
         if d_SalesTax > 0 then
         begin
            d_SalesTax := d_SalesTax / 100
         end;

it's giving me an error unit1.pas(49,6) Fatal: Syntax error, ";" expected but "ELSE" found

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to