[fpc-pascal] Get value of PPChar ?
bartjunk64 at gmail.com
Sun Apr 16 19:13:45 CEST 2017
On 4/16/17, fredvs <fiens at 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).
More information about the fpc-pascal