07-26-2004, 01:37 PM
I have some questions that need to be answered.
I still don't understand array's very much, what are they useful for?
The FOR...NEXT statements I'm pretty sure how it works but I'd like a better example other then:
I tried to put a string "$" value of a Array DIM in place of "i" & fooled around to see if it could PRINT out per line each of the 10 Variables inside the Array. I worked on & off all morning yesterday, but still couldn't get it to work.
I just sarted Qbasic for the first time yesterday & have been reading Qbasic Lessons. (Right now I'm on chapter 4.) I did the Calendar Exercise in chapter 3, but I believe that if I can learn/master the FOR...Next command I probably could lessen the code I have already written for my calendar program.
On a last note, I am new to Qbasic & this forum so I'd like to say "Hello" to everybody out there.
I still don't understand array's very much, what are they useful for?
The FOR...NEXT statements I'm pretty sure how it works but I'd like a better example other then:
Code:
For i = 1 TO 10
PRINT "The Number"; i
NEXT i
I tried to put a string "$" value of a Array DIM in place of "i" & fooled around to see if it could PRINT out per line each of the 10 Variables inside the Array. I worked on & off all morning yesterday, but still couldn't get it to work.
I just sarted Qbasic for the first time yesterday & have been reading Qbasic Lessons. (Right now I'm on chapter 4.) I did the Calendar Exercise in chapter 3, but I believe that if I can learn/master the FOR...Next command I probably could lessen the code I have already written for my calendar program.
On a last note, I am new to Qbasic & this forum so I'd like to say "Hello" to everybody out there.