sscan
synopsis: INT sscan(char *string, OBJECTKIND typ, OP result)
description:
reads an object of the specified kind into the
object result. The input is a string entered as the
first parameter. You can read the following kinds
INTEGER LONGINT PARTITION PERMUTATION
SCHUR
return:
OK if no error a value different from OK else.
bugs:
many types are missing
example:
/* SYMMETRICA */
#include "def.h"
#include "macro.h"
main()
{
OP a;
anfang();
a = callocobject();
sscan("-1237878456777777", LONGINT, a);
println(a); freeall(a); ende();
}
Send comments or suggestions to:
symmetrica (at) symmetrica
this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa