Look at my correction of your code, you might notice that the line:
results += queue[i].arch;
tries to use a variable i which has not been defined in the same scope.
Type: Posts; User: Cornix
Look at my correction of your code, you might notice that the line:
results += queue[i].arch;
tries to use a variable i which has not been defined in the same scope.
The error message is pretty clear, the variable "i" is never defined when you try to use it. Just look at your code very closely, and you will see that i is not visible everywhere where it is used....