sgs_SetIndex [function]
SGSBOOL sgs_SetIndex( sgs_Context* C, sgs_Variable obj, sgs_Variable idx, sgs_Variable val, int isprop )
Set index/property idx
in the specified variable obj
to the value val
, specifying type via isprop
, return if successful.