synopsis: OP s_v_i(OP vectorobject; INT index)


selects the ith entry of an VECTOR object. There is first a check whether it is really an VECTOR object. Then there is a check whether index is a value inside the length. As the VECTOR object is indexed by INT-numbers there is a (theoretical) limit on the size of a VECTOR object, namely there a maximal 2^31 elements.


s_v_i gives the ith entry of the VECTOR object. In the case of an error it returns NULL.


there is a macro version which does no checks, it is called S_V_I

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

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

University of Bayreuth -