CharactersMore detailsThe first objectHow SYMMETRICA does it

How SYMMETRICA does it

We hope that it is not too disappointing to you that there is in fact a routine available in SYMMETRICA that evaluates the factorial numbers. Hence you can simplify test.c to the following test program (see file ex9.c):
Example: The object oriented evaluation of factorial numbers using a routine of SYMMETRICA :
#include"def.h"
#include"macro.h"
main()
{
OP a,b;
anfang();
a= callocobject();
b= callocobject();
scan(INTEGER,a);fakul(a,b);println(b);
freeall(a);freeall(b);
ende();
}

harald.fripertinger@kfunigraz.ac.at,
last changed: November 19, 2001

CharactersMore detailsThe first objectHow SYMMETRICA does it