Search found 450 matches
- Sat Dec 02, 2006 4:00 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Yesterdays Date??
- Replies: 8
- Views: 9879
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...
- Fri Dec 01, 2006 9:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Command Line Argument/Switch
- Replies: 10
- Views: 11359
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 "Invalid or...
- Fri Oct 27, 2006 2:41 pm
- Forum: Pete's QB Site News
- Topic: Rest in Peace QB Express!! :(
- Replies: 14
- Views: 49463
...... 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, and I have to choose...
- Mon Oct 16, 2006 5:04 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: output to word
- Replies: 3
- Views: 5493
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...
- Fri Oct 13, 2006 9:03 pm
- Forum: General Discussion
- Topic: Suddenly very slow to open files!!
- Replies: 11
- Views: 15825
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 ...
- Thu Oct 12, 2006 5:49 pm
- Forum: General Discussion
- Topic: Suddenly very slow to open files!!
- Replies: 11
- Views: 15825
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 using W...
- Fri Oct 06, 2006 6:15 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sub Script out of range
- Replies: 12
- Views: 12005
I think the problem is the following:
Before the while, you need to set x=0,
otherwise the while will start off with x equal to what it was before.
*****
Code: Select all
while x < 30
print freshSTU(x), freshGPA(x)
x = x + 1
wend
otherwise the while will start off with x equal to what it was before.
*****
- Thu Oct 05, 2006 8:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
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 ...
- Wed Oct 04, 2006 10:11 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
- Tue Oct 03, 2006 7:10 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
- Sun Oct 01, 2006 8:00 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
- Sat Sep 30, 2006 6:58 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
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...
- Sat Sep 30, 2006 6:11 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HELP! calculating student's average
- Replies: 15
- Views: 17228
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...
- Wed Sep 27, 2006 9:16 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: what's the point?
- Replies: 5
- Views: 9260
- Sun Sep 24, 2006 9:18 pm
- Forum: General Discussion
- Topic: are you prepared for emergencies with a kit?
- Replies: 32
- Views: 40079
- Sat Sep 23, 2006 6:07 pm
- Forum: General Discussion
- Topic: are you prepared for emergencies with a kit?
- Replies: 32
- Views: 40079
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 mishap sit...
- Thu Sep 14, 2006 9:04 pm
- Forum: Pete's QB Site News
- Topic: Guest Posting Disabled
- Replies: 19
- Views: 41287
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 help. In ...
- Sun Aug 27, 2006 1:08 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Encrypting a Text File?
- Replies: 4
- Views: 7018
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...
- Sun Aug 27, 2006 12:55 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: return values
- Replies: 3
- Views: 5165
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...
- Fri Aug 18, 2006 1:33 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: brt71efr.lib missing
- Replies: 12
- Views: 14532
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..." I...