Multi-tasking in QB!

 BBS: Inland Empire Archive
Date: 01-21-93 (17:59)             Number: 385
From: ADRIAN MADDEN                Refer#: NONE
  To: ALL                           Recvd: NO  
Subj: Multi-tasking in QB!           Conf: (2) Quik_Bas
The previous message has NO COMMENTS!  (I do docs about as
well as I play BASEBALL...)  The program needs no extra
command-line  parameters... The structure of this
`interesting' program goes as follows:
GOTO TASKMANAGER:
1
'Task 1
RETURN
2
'Task 2
RETURN
...etc
TASKMANAGER:
DO
GOSUB 1
GOSUB 2
...etc
LOOP UNTIL ENDRequest=1
CLS
END

That's all there is to it!  Hope all you QBers enjoy!


--- Maximus 2.01wb
 * Origin: The Nimby Zone (1:207/213)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET