Search found 450 matches

by moneo
Wed Jun 14, 2006 6:06 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compilation Problem
Replies: 4
Views: 6020

Hiei-, When you do a compile and link process, besides generating an .EXE for your program, it also generates a list file with a .LST file extension for your program name. Lookup hex location 5F15 on this .LST file to see the code near where the internal error is occuring. Then rewrite this code ano...
by moneo
Wed Jun 14, 2006 5:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QuickBASIC 4.5?
Replies: 7
Views: 20301

Watch out because QuickBASIC 4.5 is not the same as QBasic 4.5. QuickBASIC comes with a compiler. QBasic has no compiler and only runs interpreted. QuickBASIC was always sold as a separate product. QBasic used to come free with some early versions Windows. When people say "QB", you never k...
by moneo
Tue Jun 13, 2006 7:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Scientific Notation / Decimals Question
Replies: 5
Views: 8245

I understand, Pete. Maybe you should respond to these by telling them to post them at petesqbsite. I think it's as much effort as you having to do a proxy posting for them, and then perhaps getting more involved. It just bothers me when these guys splatter their requests onto several forums, obtain ...
by moneo
Mon Jun 12, 2006 6:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Scientific Notation / Decimals Question
Replies: 5
Views: 8245

BTW, a guy with a username of Kermit (as a guest) posted the same exact problem on Qbasic.com on 6/1/06, and was given several solutions by Mac on 6/4/06. I read Mac's solutions and suggestions, and they're good.

In my opinion, Pete, this guy is wasting our time.

*****
by moneo
Mon Jun 12, 2006 5:47 pm
Forum: General Discussion
Topic: Programmers Day
Replies: 12
Views: 23690

Nathan1993 wrote:It should be 01/10/11 or any date, ever, with just zeros and ones.
That's clever, I like it. :D

*****
by moneo
Sat Jun 10, 2006 7:01 pm
Forum: General Discussion
Topic: Programmers Day
Replies: 12
Views: 23690

How about this for Programmer's Day: December 31st of a leap year that begins on a Saturday, like 1972 or 2000 or 2028. These are years that only a programmer would appreciate because the week logic in his programs probably blew up. Hint: Since weeks begin on a Sunday (in the USA), December 31st of ...
by moneo
Mon May 29, 2006 6:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Copy files from a: to c: drive using qbasic
Replies: 7
Views: 14616

Re: Thanks

nancepa wrote:Thanks moneo, for your input I got it to work just as needed.

Nancepa
Your very welcome. Glad to hear that you got it to work.

Regards,
Edward F. Moneo
*****
by moneo
Wed May 24, 2006 7:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Copy files from a: to c: drive using qbasic
Replies: 7
Views: 14616

Re: Copy files from a: to c: drive using qbasic

..... I want to write a program in qbasic that will copy the contents of one file thats on my floppy drive and insert it into another file thats on my hard drive. I do not want to overwrite the contents of the file on the hard drive. What do you mean by INSERT IT INTO ANOTHER FILE? If you mean stic...
by moneo
Tue May 23, 2006 6:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subscript Out of Range!
Replies: 1
Views: 4491

i need help ..... FOR x = 1 TO 10 READ id(x), date(x), name$(x), value(x), cost(x) NEXT x ...... sortdate: gap = 15 \ 2 DO WHILE gap > 0 limit = 15 switch$ = "on" DO WHILE switch$ = "on" switch$ = "off" FOR date = 1 TO limit - gap >>>>>>>>>>>>>>>>>>>>>>>>>>>>IF b(date)...
by moneo
Fri May 19, 2006 2:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with Invoice Program
Replies: 9
Views: 11123

Flirt85, A good way to be able to see the information and the delimeters in a DATA statement more clearly is to line up and spread out the fields. Example: DATA "Computer" , "102GHz" , 835.89 DATA "Monitor" , "17 inch" , 189.98 DATA "Printer" , "...
by moneo
Tue May 16, 2006 6:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inventory Program- help?
Replies: 10
Views: 13017

Moneo, I was talking about it being more readable on the forums, not it QB. It's easier on the eyes, you know? Not using code tags is one of my pet peeves. In order for code to be more readable on the forums, it has to already be indented. If it's not indented, then enclosing the code in a colored ...
by moneo
Tue May 16, 2006 2:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with Invoice Program
Replies: 9
Views: 11123

...... I'm still getting a READ error after I fixed the period into a comma in my data. I found another period and fixed it as well. I don't get it? If you have more than one constant (string or numeric) on a DATA statement, then you must delimit (separate) each of these with a COMMA. I just notice...
by moneo
Mon May 15, 2006 8:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: VERY Simple IF Question
Replies: 5
Views: 6968

MystikShadows wrote:Wow, I positively love that moneo. Can I use it? hehe...
Only if you leave me a silver bullet next time you help me out. :wink:
by moneo
Mon May 15, 2006 7:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inventory Program- help?
Replies: 10
Views: 13017

Flirt85, The problem with CASE 2 is that you used a variable named BRING instead of BEGIN. bring = INSTR(ladder, "Step") In CASE 3, at the end of you FOOT 8 logic you're missing the READ statement, as so: END IF READ ladder, length '***** Missing for FOOT 8. WEND The code for FOOT 6, 8 and...
by moneo
Mon May 15, 2006 7:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inventory Program- help?
Replies: 10
Views: 13017

Flirt85, you will notice below your subject line when you post a message a "code" button. If you push it, copy your code, and push it again, it will format your code to be much more readable. I have taken the liberty of doing this for you. Flirt85, Nathan1993 was trying to help out. Unfor...
by moneo
Sun May 14, 2006 8:45 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: VERY Simple IF Question
Replies: 5
Views: 6968

Out of the past come the thundering hoofs of the great horse Silver --- MysticShadows rides again....
by moneo
Sun May 14, 2006 8:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inventory Program- help?
Replies: 10
Views: 13017

Flirt85,

It's hard to imagine the modified code of your latest version. Please post the whole thing again.
*****
by moneo
Sun May 14, 2006 8:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with Invoice Program
Replies: 9
Views: 11123

Hi Flirt85, I thought you had disappeared. Regarding the READ error, take a look at this DATA statement which has a period instead of a comma between the first 2 fields, which is probably the cause. DATA "Monitor"."17 inch",189.98 As far as the PRINT USING is concerned, I never u...
by moneo
Mon May 08, 2006 1:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with Invoice Program
Replies: 9
Views: 11123

Re: Invoice Program

Thank you Moneo. This program is becoming quite a pain. It runs as is, but only displays the first set of data....six times. I can see the PRINT MASK as an improvement, but my WHILE statement really needs help. Do you have any more suggestions? It's not clear what level of subtotals and total you w...
by moneo
Sun May 07, 2006 8:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Inventory Program- help?
Replies: 10
Views: 13017

Flirt85, The following code to determine if an extension ladder, won't work. FOR x = 1 TO LEN(ladder) 'find and assign IF MID$(ladder, x, 1) = " " THEN sp = x NEXT x IF ladder = MID$(ladder, sp + 1, 1) = E THEN '*** THIS IS NO GOOD *** PRINT length; "ft "; LEFT$(ladder, sp - 1) E...