I substituted the infinite loops with the following snippet:
Code:
endLabel.message("Thank you for your participation!")viz.waittime(5)
viz.quit()
However, this does not have the desired effect of displaying a thank-you message for 5 seconds before quitting, instead, it idels for 5 secods, flashes the thank-you message for a split-second, and quits ....
I have had trouble with viz.waititme on other occasions.
Can you please explain the correct way to use it or suggest alternative solutions to my problem (see previous post)
Thanks again.