1
Programmer Mode / Re: High Low Array
« on: Today at 12:13:47 pm »Code: [Select]
--x is a basket (array) with 8 eggs (boolean) inside of it
x = {false, true, false, false, true, false, true, true}
i = i+1
for i = 0, 7 do
--for every egg in the basket x, replace that egg with an apple (number)
x[i] = 0
end
--replace the egg called bethigh with a basket called x that is full of apples
bethigh = x
https://youtu.be/ldjAN3YXRMc