I am having more troubles with arrays. It won't let me move text from one label to another. Here is my code for clicking the button:

Code:
For i = 0 to 9
If Slots(i) = true then 
backpack.slot(i + 1).caption = stats.lblweapon.caption'Slots go from 1 to 10, so i+1 is needed
end if
next i
My declarations:

Code:
dim Slots(9) as string
And my Form_Load

Code:
for i = 0 to 9
if backpack.slot(i + 1).caption = "" then slots(i) = true 'The backpack slot is empty, so the boolen = true
end if
next i
Am I doing anything wrong?