Search found 42 matches
- Tue Oct 16, 2012 5:37 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
that seems to work a little bit.... under my Print Detail couldnt I replace the H2$ with my my detail line, D1$ to print the data is straight columns...?? I ask because when I ran the program all my column headings where already printed I was just adding another header line can i post a pic of what ...
- Tue Oct 16, 2012 4:11 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
- Tue Oct 16, 2012 1:00 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
- Tue Oct 16, 2012 1:14 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
- Mon Oct 15, 2012 10:22 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: End if Without Block If Error
- Replies: 2
- Views: 9555
- Mon Oct 15, 2012 10:07 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
I did that because i thought i would fix the syntax error but it didnt..... the type mismatch is resolved but now the syntax error is back on the READ man$, Yr, Make$, Model$, Desc$, Price line here is how I have my process code and read data: ProcessDetail: GOSUB ReadData DO UNTIL UCASE$(man$) = &q...
- Mon Oct 15, 2012 7:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
- Mon Oct 15, 2012 5:02 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
- Mon Oct 15, 2012 1:59 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: End if Without Block If Error
- Replies: 2
- Views: 9555
End if Without Block If Error
I can't figure out why Im getting an error on this code:
READ A
IF A > 10 THEN PRINT "THAT'S IT" ELSE PRINT "MAYBE NEXT TIME"
END IF
DATA 15,0
READ A
IF A > 10 THEN PRINT "THAT'S IT" ELSE PRINT "MAYBE NEXT TIME"
END IF
DATA 15,0
- Mon Oct 15, 2012 1:53 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Syntax Error
- Replies: 20
- Views: 33737
Syntax Error
Why am I getting a syntax error on this line: " READ man$, Yr, Make, Model, Desc, Price" My code: ' Program that lists inventory for your collection of model cars ' ' ' ' Variables Used ' T1$, H1$, H2$, D1$ Print images ' TL$ Print images ' man$ Manufacturer # ' Yr Year Of Csr ' Make Make ...
- Wed Oct 03, 2012 9:11 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Subscript out Of Range??
- Replies: 6
- Views: 20481
- Wed Oct 03, 2012 2:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Subscript out Of Range??
- Replies: 6
- Views: 20481
- Wed Oct 03, 2012 11:07 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Subscript out Of Range??
- Replies: 6
- Views: 20481
- Tue Oct 02, 2012 10:32 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Subscript out Of Range??
- Replies: 6
- Views: 20481
Subscript out Of Range??
What does it mean if you get an error stating "Subscript out Of Range"? How would I fix it on this code: ' Initialize variables Pieces = -1 Pay# = 0 TotPieces = 0 TotPay = 0 T1$ = "PIECEWORK WEEKLY REPORT" H1$ = "NAME" + SPC$(16) + "Pieces" + SPC$(6) + "P...
- Tue Oct 02, 2012 7:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Illegal Function Call?
- Replies: 4
- Views: 11257
- Tue Oct 02, 2012 1:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Illegal Function Call?
- Replies: 4
- Views: 11257
- Tue Oct 02, 2012 12:37 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Illegal Function Call?
- Replies: 4
- Views: 11257
Illegal Function Call?
Hey guys, Im writing a program for my BASIC class and have suddenly gotten an "Illegal Function Call" error on one of the lines and I really dont know why The error occurs at the "PRINT USING T1$; PageCt 'Print title line" line ' MINITEST 2 ' Variables Used: ' T1$, H1$, H2$, D1$ ...
- Fri Sep 28, 2012 1:30 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Type MisMatch Error?
- Replies: 2
- Views: 10083
- Wed Sep 26, 2012 2:48 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Type MisMatch Error?
- Replies: 2
- Views: 10083
Type MisMatch Error?
Why am I getting a type mismatch error on the following code? How do i fix it? ************************************************************** REM The purpose of this program is to utilize The STRING$ Function REM ************************************************************** REM REM CLS LET WORD$ = ...
- Thu Sep 06, 2012 2:13 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Can you please double check this code...
- Replies: 1
- Views: 7556
Can you please double check this code...
Hey guys, its me again, im taking a BASIC class in college and am having trouble with it for some reason... the assignment is was given was to write a program that will request length and width of a rectangle until 0 is entered for either the length or width. here is the code i am supposed to follow...