sq_arrayremove

Squirrel 2.2

sq_arrayremove

SQRESULT sq_arrayremove(HSQUIRRELVM v, SQInteger idx, SQInteger itemidx);

removes an item from an array

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target array in the stack

SQInteger itemidx

the index of the item in the array that has to be removed

return:

a SQRESULT

remarks:

Only works on arrays.