Search found 3 matches

by Atrapado
Wed Dec 07, 2005 11:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Lottery question
Replies: 8
Views: 11982

Lottery question

thank you? welcome RANDOMIZE TIMER DIM thelist(50) AS INTEGER DIM picks(6) AS INTEGER FOR aaa = 1 TO 6 repeat: bbb = INT(RND * 50) + 1 IF thelist(bbb) = 1 THEN GOTO repeat thelist(bbb) = 1 NEXT aaa ccc = 0 FOR aaa = 1 TO 50 IF thelist(aaa) = 1 THEN ccc = ccc + 1: picks(ccc) = aaa END IF NEXT aaa FOR...
by Atrapado
Thu Dec 01, 2005 12:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compatibility
Replies: 15
Views: 21958

i never have had XP or 2OOO but i have been reading and posting in several quickbasics forums for a long time. quickbasics can run and compile correctly in those systems, i am completely sure. those systems try to restrict the Ms-dos environment. it is neccessary to see the properties of the Ms-dos ...
by Atrapado
Thu Dec 01, 2005 11:07 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Using the function keys
Replies: 5
Views: 7603

Re: Using the function keys

how do i tell QBasic to begin another SUB on the press of F1 for example? there are two ways to create a SUB or FUNCTION, (A) using the menu bar you would touch Alt, E, S. (B) just writing a line in the editor this way SUB yourname (parameter) and then just press Enter. to go in and out the SUBs an...