´

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.de

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

University of Bayreuth -