marcuslee
22-11-2009, 18:35
The message box has a parameter to alter the format of the count down. What are the possible values?
Mark
Petr Schreiber
22-11-2009, 20:14
I think they are the same as for format$.
"00.00" will use two digits for seconds (or more when needed, but 2 is minimum), and two after the decimal.
"#.00" will use any number of digits for seconds, and two after the decimal.
"#.#" will use any number of digits for seconds, and any after the decimal.
...and so on.
ErosOlmi
22-11-2009, 21:10
Yes, it is used to specify a user format for seconds and milliseconds:
thinBasic calculates time remaining to timeout and show using below code.
FORMAT$((TimeRemain / 1000), gTimerFmt)
With a user format is possible to just show seconds or 10th of second and so on.