Dbpro or classic can't multi task (thread?). You program is executed one line at a time.
If you had this
do
function1()
function2()
function3()
loop
if would start by running the code in function1 until it finished, then run the code in function2 until it finished, then run the code in function3 until it finished. It would get to the loop command and jump back to the do command and start again.
Using the different types of loops and if/then statments you can control the program flow.
dbpro : p166mmx @ 233 : 256mb : sb 128pci : sis onboard