sq_arraypop

Squirrel 2.2

sq_arraypop

SQRESULT sq_arraypop(HSQUIRRELVM v, SQInteger idx);

pops a value from the back of the array at the position idx in the stack.

parameters:
HSQUIRRELVM v

the target VM

SQInteger idx

index of the target array in the stack

return:

a SQRESULT

remarks:

Only works on arrays.