Results 1 to 5 of 5

Thread: DELAY () function

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    6
    Plase tell me how DELAY() function works. Is it DELAY(1000) means 1 min delay?

    Amal

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    Sorry, no such creature. You either need to use the timer, the sleep API, or some of the other methods described in other posts. Search on delay and you will find at least 3 or 4 methods.

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Code:
    Declare Function GetTickCount Lib "kernel32" () As Long
    
    Function Dealy(t As Long): Dim b As Long
        b = t + GetTickCount
        Do Until t < GetTickCount
            DoEvents
        Loop
    End Function
    Well i made up a dealy function for you, it should wait t milliseconds.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195
    Kedaman,
    It seems like you are posting that code almost every day now. This was one of the other methods to search for.

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Hey, i just wrote that, really, i remember i wrote another some days ago and i tried to search first for it but i couldn't find it.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

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



Click Here to Expand Forum to Full Width