Hi again.
I know this is kinda of urmmmm silly question but i am reading a tutorail on Arrays and its gave an example... but I do not understand is how it works.
Basicly it says this sets all the intergers to 0
For a=0 To 9
Cups(a)=0
Next
I cant understand how that works, I thought loops was done that way.. Am I correct in saying that code basicly says:
Ok.. For letter A will hold 0 to 9, amd cups(a) will now have empty or 0 in 0 to 9. Next do this till u reach 9 then hit next line of code.
Is that basicly what its doing?
Silly code but like i said I aint got no brains and I trying me best here.
Cheers waz
I know this is kinda of urmmmm silly question but i am reading a tutorail on Arrays and its gave an example... but I do not understand is how it works.
Basicly it says this sets all the intergers to 0
For a=0 To 9
Cups(a)=0
Next
I cant understand how that works, I thought loops was done that way.. Am I correct in saying that code basicly says:
Ok.. For letter A will hold 0 to 9, amd cups(a) will now have empty or 0 in 0 to 9. Next do this till u reach 9 then hit next line of code.
Is that basicly what its doing?
Silly code but like i said I aint got no brains and I trying me best here.
Cheers waz