Search found 450 matches

by moneo
Sat Dec 02, 2006 4:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Yesterdays Date??
Replies: 8
Views: 13748

You're right, getting yesterday's date is not a simple matter. You need to have a table or array of the number of days in each month, plus when you're dealing with February, you need to have logic to determine leap year. I've done this before, so why don't you post the code that you have for this an...
by moneo
Fri Dec 01, 2006 9:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Command Line Argument/Switch
Replies: 10
Views: 16256

Checkout the COMMAND$ function. Using the same command-line that you posted, your program can get the names of the 2 files as follows: c$ = command$ 'get the command-line, except for the .EXE name. s = instr(c$," ") 'find location of space delimiter between filenames. if s = 0 then print &...
by moneo
Fri Oct 27, 2006 2:41 pm
Forum: Pete's QB Site News
Topic: Rest in Peace QB Express!! :(
Replies: 14
Views: 64343

...... QB Express will come, but I've got to tell you, "The Race" is my baby, and "Unicorn Boy" (my cartoon) is my second child. QB Express right now is my red-headed stepchild -- still a priority, but at the bottom of the list. I've just got too many projects going on at once, ...
by moneo
Mon Oct 16, 2006 5:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: output to word
Replies: 3
Views: 7615

Re: output to word

We use qbasic to do some engineering for us and at the end of the program it asks to print. i would like instead of printing to save it or send it to word so i can save the file and print when i want. i would love to send someone the program so they can tell me how to do this. :?: If I understand y...
by moneo
Fri Oct 13, 2006 9:03 pm
Forum: General Discussion
Topic: Suddenly very slow to open files!!
Replies: 11
Views: 23289

Thammel, I'm kinda lost now regarding your problem. Don't let the guys kid you about being an engineer. I've worked with many sharp engineers. I have found that basically they don't like to program --- it's really not their bag. They only program to solve some given problem, so they can get back to ...
by moneo
Thu Oct 12, 2006 5:49 pm
Forum: General Discussion
Topic: Suddenly very slow to open files!!
Replies: 11
Views: 23289

Re: Suddenly very slow to open files!!

Hi, I'm a long time QB user at work - an engineer, of course. Suddenly I"m having a very slow response when I do my FO - it takes about a minute to display the directory structure and since I'm about 4 layers down it takes about 4 minutes or so to open the code. This is very annoying! We're us...
by moneo
Fri Oct 06, 2006 6:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sub Script out of range
Replies: 12
Views: 17456

I think the problem is the following:

Code: Select all

while x < 30 
print freshSTU(x), freshGPA(x) 
x = x + 1 
wend
Before the while, you need to set x=0,
otherwise the while will start off with x equal to what it was before.

*****
by moneo
Thu Oct 05, 2006 8:12 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Yeah, but like many others, he hasn't come back to acknowledge the help given nor anything. ***** What a surprise... But yeah, I was harsher than needed, because I forgot to check his postcount. This guy actually has one, and so I should just have left the topic without posting at all. My bad. Not ...
by moneo
Wed Oct 04, 2006 10:11 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Yeah, but like many others, he hasn't come back to acknowledge the help given nor anything.

*****
by moneo
Tue Oct 03, 2006 7:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Pete, thanks for posting your position on homework. I totally agree with you. That's why I went ahead and tried to help him.

Regards..... Moneo
by moneo
Sun Oct 01, 2006 8:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Nathan1993 wrote: .....
I'm afraid of Z!re. :wink:
Nathan, you're not only witty, but you also have a great sense of humor.

*****
by moneo
Sat Sep 30, 2006 6:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Re: HELP! calculating student's average

...... The program is almost done, i just need professional help to perfect it. Actually, you program looks good, but has a lot of problems, especially with the nested WHILE/WENDs. One problem with WHILE/WENDs is that there is no EXIT WHILE. So try to use DO/LOOPs instead where you can get out with...
by moneo
Sat Sep 30, 2006 6:11 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HELP! calculating student's average
Replies: 15
Views: 25473

Hey guys, I think we were a bit too rough on Jason. Yes, I agree, the post is about homework. However, he's not asking us to do the homework, he's just asking for a little help to fix it up. He also posted a pretty nice program so we can see that he's well ahead on doing the homework. Give the kid a...
by moneo
Wed Sep 27, 2006 9:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: what's the point?
Replies: 5
Views: 13420

Antoni, que milagro ver tu nombre. ?Como has estado, hombre?

Un fuerte abrazo,
Eduardo Moneo
by moneo
Sun Sep 24, 2006 9:18 pm
Forum: General Discussion
Topic: are you prepared for emergencies with a kit?
Replies: 32
Views: 60056

Nathan1993 wrote:Finally. A sensible, non-flaming post.

*Nathan1993 toasts to Moneo's post*
Thanks, Nathan, I appreciate your kind words.

Regards.

*****
by moneo
Sat Sep 23, 2006 6:07 pm
Forum: General Discussion
Topic: are you prepared for emergencies with a kit?
Replies: 32
Views: 60056

Re: are you prepared for emergencies with a kit?

"are you prepared for emergencies with a kit?" I've been following this thread for a week now. Basically, Sid, you have a good idea, and some of your suggestions, and those by others, are good. I would just like to clarify that it's impossible to be prepared for every kind of disaster or ...
by moneo
Thu Sep 14, 2006 9:04 pm
Forum: Pete's QB Site News
Topic: Guest Posting Disabled
Replies: 19
Views: 54032

Hey Pete..... I personally dont like "must to register/log in" ..... I don't much like having to register when I'm just looking for some information on a site that I got from a Google search. But in the case of a guest coming to this forum, he's usually going to post a question or ask for...
by moneo
Sun Aug 27, 2006 1:08 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Encrypting a Text File?
Replies: 4
Views: 10463

Re: Encrypting a Text File?

When you save a QBASIC Program to a text file and store variables in it, is there anyway to encrypt the numbers so people using the program can't alter the variables? I think you guys are missing DWolf's point. His concern is that the user of the program can load the source file into QBasic and usi...
by moneo
Sun Aug 27, 2006 12:55 am
Forum: QBASIC and QB64 Questions & Answers
Topic: return values
Replies: 3
Views: 7207

Re: return values

return values not sure i understand them very well is thier a tut here or a chart for doing these calc's or a simple formula? i've seen AND OR and such used also....not sure what they mean... i vaugly the notion that it also has a postivie or negative thing too? What do you mean by RETURN VALUES? A...
by moneo
Fri Aug 18, 2006 1:33 am
Forum: QBASIC and QB64 Questions & Answers
Topic: brt71efr.lib missing
Replies: 12
Views: 21238

Re: brt71efr.lib missing

While compiling from the prompt I'm using the following: bc /o /Ot /Fs /G2 /Fpi /E /X filename; link filename.obj,lib\qbx.lib+lib\bcl71efr.lib; For some odd reason the compiler askes for the brt71efr.lib but I can't locate it anywhere on the disk.... You said: "While compiling from the prompt....