Search found 5 matches
- Mon Oct 09, 2006 7:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 17614
Thank you so much Lurah. I Finished the program there is just one last problem that I am having. I would like to print on either separate, or sequensial screens and haven't been able to find a command to do that, If there is one. Anyway here is the finished program. Also is there a better way to add...
- Sat Oct 07, 2006 11:57 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 17614
That fixed the subscript error, but the print statement only prints some random entries out of the array. The reason i used 30 as the dimmension, was because my prof told us that was as big as they needed to be. :| here is the updated code DIM stu AS STRING DIM class AS STRING DIM GPA AS DOUBLE DIM ...
- Fri Oct 06, 2006 10:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 17614
- Fri Oct 06, 2006 2:42 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 17614
The Students.txt = STU0758,Freshman,2.81 STU0454,Senior,2.03 STU0584,Senior,2.56 STU0429,Freshman,3.71 STU0470,Freshman,2.58 STU0702,Junior,3.46 STU0645,Junior,3.18 STU0558,Freshman,3.72 STU0531,Junior,1.22 STU0668,Freshman,1.23 STU0533,Senior,1.12 STU0800,Senior,3.33 STU0349,Junior,1.91 STU0837,Sop...
- Fri Oct 06, 2006 12:00 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 17614
Sub Script out of range
I am getting a Sub Script out of range error on this, any one know how to fix it? dim stu as string dim class as string dim gpa as integer dim freshSTU(30) as string dim freshGPA(30) as integer dim sophSTU(30) as string dim sophGPA(30) as integer dim juniSTU(30) as string dim juniGPA(30) as integer ...