Search found 450 matches

by moneo
Thu Aug 17, 2006 10:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: basic vs qbasic
Replies: 7
Views: 6964

Nathan1993 wrote:You can set up the environment for her by teaching her how to double click qb.exe and then pressing F5 to run her code. To download QB, go to qbnz.com, software section, and download qb version 4.5 and unzip it.
Nathan, You're so kind. This guy is gonna be eternally grateful.

*****
by moneo
Thu Aug 17, 2006 10:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Have client willing to pay for QB -> .NET conversion...
Replies: 4
Views: 5832

wow thats cool...who'da thunk qb would come in this handy??... say why dont you pass this on to moneo he's real good at programming as its his real job if i remember right and hes a GREAT qb whiz...so he'll do a real professional job... Sid6.7, Well thanks, man, I'm honored that you think so highly...
by moneo
Wed Aug 16, 2006 6:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: anagram solver
Replies: 9
Views: 18972

Anagram solver? Well for a N letter word there are N! permutations - far too many. I have written a similar program and the best approach is to search a dictionary file. First check is the length, then if the anagram and a dictionary word have the same length use INSTR to check the letters are all ...
by moneo
Wed Aug 16, 2006 12:06 am
Forum: QBASIC and QB64 Questions & Answers
Topic: anagram solver
Replies: 9
Views: 18972

Seb, I'm not an expert on this, but the numbers 123,132, etc. are a perfect set of the permutations of 3 numbers. Since you didn't show us the PRINT statement, I don't know why you're printing the numbers of the letter positions instead of the letters themselves. My guess is that in order to print b...
by moneo
Tue Aug 15, 2006 11:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: basic vs qbasic
Replies: 7
Views: 6964

By BASIC do you mean all the Basic versions which came before Microsoft Quickbasic and QBasic? These old Basic versions are practically dead now since they're more than 20 years old. QuickBasic and Qbasic, collectively known as QB, are very similar to each other, mostly differing in the development ...
by moneo
Mon Aug 14, 2006 7:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: "^Line too long" error when making EXE
Replies: 14
Views: 9767

Patz, Nice detective work, and thanks for the background information. I suspected that his file was created with a Unix-type editor based on finding only Linefeeds. What's even worse is a report file generated on a Unix system. These files can have all kinds of line terminators, LF only, CRLF, FormF...
by moneo
Mon Aug 14, 2006 7:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: file thing
Replies: 7
Views: 5955

********************************************************** Hey Moneo Hows you? Me doing great. I have question and Sid6.7 told me you might be some help. For a program I need to remove a file, create a new one, and add lines to the file. But the adding thing is kinda blury, because first I need a ch...
by moneo
Sun Aug 13, 2006 6:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: "^Line too long" error when making EXE
Replies: 14
Views: 9767

Bulldog, Excuse the expression, but "you're barking up the wrong tree." If you copy/pasted CCC's code from the post above, God knows what line terminators you got. The lines you mention are not too long when viewed with a hex editor. In reality, the longest line is 77 bytes long. CCC mailed me the o...
by moneo
Sat Aug 12, 2006 8:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: "^Line too long" error when making EXE
Replies: 14
Views: 9767

Ok, well i have a hex editor, i DON'T understand anything about hex or assembler, and i dont know what you mean by where it terminates. Could i send you the .bas maybe? Yes, send me the .bas, but first make a copy of it to another file with .TXT instead of .BAS, otherwise the email system won't all...
by moneo
Fri Aug 11, 2006 8:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: "^Line too long" error when making EXE
Replies: 14
Views: 9767

My program is too long to do that, for some reason i can't copy it. But why will the ^line too long message pop up? and can i use the ASM part of the message to pinpoint where the error is? What editor did you you use to create your source code? I have a feeling that the lines of your source code A...
by moneo
Wed Aug 09, 2006 8:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: a rather simple calculation problem
Replies: 4
Views: 4943

...... And you don't always have to DIM them,You can use symbols for them for example cool% is an integer and you can tell it just by seeing it due to that % sign.. cool! is single precision number.. cool& long integer.. and its all described in help What you call symbols are actually called Type-D...
by moneo
Mon Aug 07, 2006 8:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: a rather simple calculation problem
Replies: 4
Views: 4943

Quibbler is right, the statement should be: c=a/(b*12) When you put someting into a variable, it's called a "variable assignment". You are "assigning" a value to the variable. All variable assignments are coded with the resultant variable first and then the value that is being assigned to it, like t...
by moneo
Wed Aug 02, 2006 1:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: How do I get data from a web site into my program?
Replies: 12
Views: 15313

Hey, Stoves, that's very interesting info about WGET.EXE. I must look into it. Thanks!

*****
by moneo
Wed Aug 02, 2006 1:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 15161

Stoves, BC C:\STUFF\QBASIC\QB45\RPGGEN~1.BAS/E/X/O/T/C:512; On your compile command above: 1) If you removed error handling and resume, then you shouldn't need /E and /X. They add extra memory. Try again without these. 2) The /O will use BRUN45.LIB instead of the standard, default BCOM45.LIB. Assumi...
by moneo
Mon Jul 31, 2006 10:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Printing with Qbasic with XP
Replies: 2
Views: 3349

Easier still, modify the program to print to a work file. Then, at the end, load the work file into Notepad and print it out.

*****
by moneo
Wed Jul 26, 2006 9:20 pm
Forum: General Discussion
Topic: Looking for a little something to program
Replies: 19
Views: 19403

Nathan1993, I know that you're just a kid, but you were "stroking" us here trying to find things for you to do this summer. Remember that you started this thread asking for stuff. If you now have other things to do, then you should have said so earlier. Next time no one will pay attention to you. It...
by moneo
Tue Jul 25, 2006 8:30 pm
Forum: General Discussion
Topic: Looking for a little something to program
Replies: 19
Views: 19403

This is for Nathan1993 and Patz. The code that folows is a little program to validate dates in a YYYYMMDD format. That's all it does, but it does the validation in a way that I call "bulletproof", that is, no invalid date will be accepted. I have been using this date validation logic successfully fo...
by moneo
Tue Jul 25, 2006 8:13 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Very Basic help needed
Replies: 4
Views: 5165

moneo i think she was trying to catch the "up" keypress by chr$(24) you understood...Didn't you? :D I suspected that, but I wasn't sure. The ASCII character 24 in decimal is CAN (cancel), although if you do a PRINT CHR$(24) it prints out a character that looks like an up-arrow. But it's not. An up-...
by moneo
Fri Jul 21, 2006 9:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Very Basic help needed
Replies: 4
Views: 5165

Kyle, I tried your program. t runs, but ignores the up/down arrows because you forgot that they are expanded ASCII codes. Down Arrow is chr$(0)+chr$(80) and Up Arrow is chr$(0)+chr$(72) You also have an INKEY looking for a chr$(24). I don't know what that should be. Try these and see. Regards..... M...
by moneo
Fri Jul 21, 2006 6:45 pm
Forum: General Discussion
Topic: Looking for a little something to program
Replies: 19
Views: 19403

Re: Looking for a little something to program

...... You know what I think? All of these ideas are sooo simple. They might be simple for you, but what about for Nathan1993? ConDate - Converts DATE$ to normal, everyday format. Syntax - StringToStore$ = ConDate$(DATE$) Ex. 05-01-1992 translates into May 1, 1992 That's nice when you use the DATE$...