Does SmartBASIC have a pause or wait feature?
smartBASIC does have a wait function however it does not function like wait functions in other languages that many are programmers are accustomed to. Please refer to page 124 of the smartBASIC core users guide at the GetTickCount and GetTickSince functions. You will need to utilize these functions to create a pause in your script. Please note that the pause is really a lock as these functions lock the script for the duration of pause you input. ----Sample Script Showing Use---- // // Definitions // #define
Program Started" TimerStart(Timer_0, TimeLeng, Recur) endsub sub Delay(ms) dim tn : tn = GetTickCount() while (GetTickSince(tn)