sq_arrayremove

Squirrel 3.0

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.