Sleep

Takes one parameter.

Description:

The procedure will sleep for the time specified. The time is in milliseconds.

Example:

This example illustrates how we could have some code run once a day.

Start:
    Rem 'Get our check
        [New]       LastRun = Setup$ "Some.value"
    EndRem

    Rem 'Run Background Process once a day
        If LastRun = ($Today)
            'Was already run today
        Else
            Jobs.Background
            Setup     "Some.value", $Today
        End If
    EndRem

    Sleep 300000 'Sleep for 5 minutes then start check again

GoTo Start: