I usually use the printed reference manual, however a quick "Yahoo" search gave this as the first "hit":
http://www.barcodeman.com/altek/mule/scandoc.php
Search found 98 matches
- Mon Mar 20, 2006 12:44 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Getting Key Codes
- Replies: 6
- Views: 11589
- Fri Mar 17, 2006 12:51 pm
- Forum: General Discussion
- Topic: QB array help; TWO PROGRAMS
- Replies: 4
- Views: 12244
If (that's a big IF) you know how many numbers (elements) are in the array, then:
will essentially do what you want, that is, to print each of the values in the array, and add them up.
Code: Select all
sum=0
for i=1 to n
print i, array(i)
sum=sum+array(i)
next i
print "Total is"sum
- Fri Mar 17, 2006 12:44 pm
- Forum: General Discussion
- Topic: Need a little Qbasic help ( MID$ )
- Replies: 4
- Views: 7336
Re: Need a little Qbasic help ( MID$ )
...you need to make sure that the user enters first, middle or initial, and last name, otherwise the FULLNAME is invalid and the program won't work right. Also, do you want to program for the case when the user puts more than one space in between the name fields? To do this program correctly will i...
- Fri Mar 10, 2006 11:35 am
- Forum: General Discussion
- Topic: idea for random number generator...
- Replies: 5
- Views: 11387
I think there's a little more to it than that, maybe not. I'd like to see the algorithm. Maybe it's easier with rational numbers, but with irrational numbers like pi and sqr(2), it takes real computing power to get further and further out. That's why it's such a big deal to compute millions of digit...
- Wed Mar 08, 2006 12:51 pm
- Forum: General Discussion
- Topic: idea for random number generator...
- Replies: 5
- Views: 11387
- Thu Mar 02, 2006 12:39 pm
- Forum: News and Announcements
- Topic: helped need from new library!
- Replies: 6
- Views: 17318
This sounds great! I once wrote a couple of subs (for qb3). They were called ifexist() and fopen(). The purpose was to determine if a file (with user specified name) existed as specified, and to actually open it if possible, but WITHOUT returning an error. Normally one would compile the program with...
- Mon Feb 27, 2006 12:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Point of Intersection
- Replies: 8
- Views: 13692
This is not a trivial problem! This is the sort of thing I did for 20 years with my programs. Surveyors run into this sort of thing all the time. I don't have time to check your math, but if it works for most cases it's probably right. It's easier to find an intersection for two lines, than for two ...
- Mon Feb 27, 2006 12:45 pm
- Forum: General Discussion
- Topic: which sci-fi crew are you in?
- Replies: 15
- Views: 32682
- Wed Feb 22, 2006 12:50 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: A few questions...
- Replies: 4
- Views: 7661
randomize
Randomize re-seeds the random number generator (RNG) but it doesn't "set" the seed. For example: randomize 555 print rnd randomize 555 print rnd would be expected to return the same number, but it doesn't. Here's the output from QB 3 .9563706 .1887001 You'll get other numbers from QB 4, bu...
- Wed Feb 22, 2006 12:39 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: windows linux compatability
- Replies: 7
- Views: 12269
FreeBasic
Code:
randomize 462 (I put a space in it)
print rnd
Here's the output:
0.778656005859375
randomize 462 (I put a space in it)
print rnd
Here's the output:
0.778656005859375
- Fri Feb 10, 2006 12:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: need help please
- Replies: 6
- Views: 7724
QuickPak
I can't really remember the version number. I do remember that it was right after QB v 4.0 came out. Ethan was trying to convince me to switch from v3 to v4. I should have taken his advice. I'm still using 3 because I like it alot. Version 4 has many advantages, but at the time I didn't feel like co...
- Tue Feb 07, 2006 12:52 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QB45-XP-LCD screen
- Replies: 4
- Views: 12299
- Tue Feb 07, 2006 12:46 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: need help please
- Replies: 6
- Views: 7724
Ethan Winer
I called Cresent Software once with a question about QuickPak Pro. Ethan answered the phone! He was nice; very knowledgable and fun to talk to.
- Fri Feb 03, 2006 11:08 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: help on limiting keys
- Replies: 29
- Views: 50536
- Fri Feb 03, 2006 11:03 am
- Forum: General Discussion
- Topic: Q Basic program for the 12 days of Christmas
- Replies: 3
- Views: 10591
A start
input n for i=n to 1 step -1 print i next i given a number, will print a list of numbers from that point counting down to 1. For your program, you have to decide what you want done for each day, and code that in, in place of the "print i". That's a start. Was this due before Christmas??
- Thu Feb 02, 2006 12:35 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: help on limiting keys
- Replies: 29
- Views: 50536
- Thu Feb 02, 2006 12:28 pm
- Forum: General Discussion
- Topic: DOS/QB Chess
- Replies: 5
- Views: 10682
AI
Aritficial Intelligence. (Did I spell that right?) Sorry, I should have spelled it out in my original post. I had been looking for freeware chess programs. Many descriptions included "AI" or "two player", meaning "person against computer" or "person against person&...
- Wed Feb 01, 2006 11:25 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: help on limiting keys
- Replies: 29
- Views: 50536
- Fri Jan 27, 2006 12:52 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: help on limiting keys
- Replies: 29
- Views: 50536
- Tue Jan 24, 2006 12:28 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: help on limiting keys
- Replies: 29
- Views: 50536
Sorry...
Sorry, Awakened, but that won't work. Inkey$ scans the keyboard one time when it's executed. The first keystroke will pop the program out of the first loop. The case structure will execute based upon the SECOND keystroke which will, in THIS case typically be blank or the null string. EDIT: Yup, that...