2010/5/30 spir ☣ <denis.s...@gmail.com>:
> Hello,
>
>    // a & b are ints
>    n := a ** b;        // error: operator is not overloaded
>    n := power(a,b);    // error: identifier not found "power"

uses math;

http://freepascal.org/docs-html/rtl/math/power.html
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to