this type of thing is usually done in the middle of some process

by (no login)

like you're loading something doing something,let user know it's not frozen, i'd put it in the middle of a main loop drawing one dot per loop cycle.

temp$ = "Loading something"
numofdots = 3

DO

'main process, could be any loop


i = i + 1
LOCATE 1, 1
j = i MOD (numofdots + 1)
PRINT temp$ + STRING$(j, ".") + SPACE$(numofdots - j);
_DELAY .25
LOOP



    
This message has been edited by MCalkins on Feb 6, 2012 12:21 AM

Posted on Feb 5, 2012, 12:20 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
* WHY are you using MOD 0 + 1??? :-P on Feb 5
 I guess MOD's never good on Feb 5
  The MOD wouldn't have been a problem unless i overflowed. on Feb 6
Re: this type of thing is usually done in the middle of some process on Feb 6
 Re: this type of thing is usually done in the middle of some process on Feb 6
 Yes! In QB64 using ON TIMER will work, here's an example...Galleon on Feb 7
  *Oh Okay, thanks on Feb 7