To construct a partition out of a VECTOR object, you have to provide the VECTOR object, and you have to specify the specific kind, look at the following example #include "def.h" #include "macro.h" main() { OP v,p; anfang(); v = callocobject(); p = callocobject(); m_il_v(2L,v); m_i_i(1L,s_v_i(v,0L)); m_i_i(2L,s_v_i(v,1L)); b_ks_pa(VECTOR,v,p); println(p); freeall(p); /* dont free v, because it is part of p */ 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