fakul
synopsis: INT fakul(OP a,b)
description:
b becomes a!. a is an INTEGER object. a must be >= 0. a and b may be equal. b is freed first.bugs:
LONGINT should be possible for a.return:
OK or ERRORexample:
#include "def.h"
#include "macro.h"
main()
{
OP b,h2;
anfang();
b=callocobject(); h2=callocobject();
scan(INTEGER,h2); fakul(h2,b); println(b);
freeall(b); freeall(h2);
ende();
}
Send comments or suggestions to:
symmetrica (at) symmetrica.de
this page was automatically generated on So Jan 4 10:35:44 CET 2009 on the machine btn6xf