´

even

synopsis: INT even(OP a)

description:

checks wether the input is even, this works for the following kind of objects INTEGER LONGINT PERMUTATION

example:

 the following is an example for a PERMUTATION   object as
 the input:
#include "def.h"
#include "macro.h"
 main()
 {
 OP a;
 anfang();

 a=callocobject(); scan(PERMUTATION,a); print(a);
 if (even(a))
 {printf(" is element of A");println(S_P_L(a));}
 else
 {printf(" is not element of A");println(S_P_L(a));}
 freeall(a); ende();
 }


Send comments or suggestions to:
symmetrica (at) symmetrica.de

this page was automatically generated on So Jan 4 10:36:04 CET 2009 on the machine btn6xf

University of Bayreuth -