Re: Displaying Updates Over Time
- Posted by unkmar Oct 07, 2010
- 1016 views
I had been known to use a second counter.
atom millions integer show_it -- Should I show it yet? millions = 12345678 show_it = 0 for a = 1 to millions do if (not show_it and get_key() != -1) then -- Resets the counter. show_it = 1000 if (get_key() != -1 ) then -- Display if keypress in buffer puts(1, "Show iteration data\n") end if end if show_it -= 1 -- Reduce the display counter by one. end for
PS: I'm an old style euphoria coder. My code is v2.4 to v3.1 based. (Sorry)
Unkmar