If I have a function that returns a boolean(true/false) and I want to wait for the function to return the boolean BEFORE The program goes on to the next function, would something like this work??
or is there a better way??Code:dim answer as boolean=false 'Call function getanswerdunction() answer=getanswerfunction(parameters) 'eventually returns true while answer=false loop nextfunction()
Cheers,
Bebandit




Reply With Quote