sgs_SetNumIndex [function]

SGSBOOL sgs_SetNumIndex( sgs_Context* C, sgs_Variable var, sgs_Int idx, sgs_Variable val )

Set the index idx of variable var to val, return if successful.