On 4/16/17, fredvs <fi...@hotmail.com> wrote: > if (res = 0) then writeln('resu = ' + inttostr(res)); // OK = 0
That just creams my corn! If you know that res equals 0, then a simple writeln('resu = 0'); would suffice. Second, there is no need do an inttostr(res) inside write(ln). Write(ln) is perfectly capable of writing integers (as it has been from the very first start). Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal