John Meyer napsal(a):

if i_Error <> 0 then
        begin
        d_SalesTax := 0;
        end;

<- you should remove the semicolon (";") after "end" keyword

     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

Tombo

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

Reply via email to