
If I do: let positions = []; inside the procedure, no error, but the array is empty each time te execution enters the Procedure, if I try to define it outside Procedure, an error tell me: Uncaught ReferenceError: positions is not defined

I tried to put the declaration inside an if to only do in one time, but SpiderBasic think it's not initialized