+ Reply to Thread
Results 1 to 5 of 5

wait/pause during loop

  1. #1
    Registered User
    Join Date
    07-01-2008
    Location
    Wales, UK
    Posts
    29

    wait/pause during loop

    Hi

    I've looked about but I must be searching using the wrong words as I can't seem to find what I'm after.

    I have a do while .... loop, all I want to do is slow it down by just by a second or two to see what's going on. A pause until a key is pressed isn't required.

    In original basic I used years ago it would have gone something like:

    for a=1 to 1000:next a

    or

    wait 1000

    a simple one second pause but it doesn't like it.

    Any suggestions are welcome.

    Cheers

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-01-2008
    Location
    Wales, UK
    Posts
    29
    That's great, thank you.

    Just for future reference where does the 86400 come from?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    You're welcome.

    It's the number of seconds in a day.

  5. #5
    Registered User
    Join Date
    07-01-2008
    Location
    Wales, UK
    Posts
    29
    That makes sense

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1