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
        LoadRecord  "Some.Table", "LastRun"
        [New]       LastRun     | Some.Table.Value
EndRem

    Rem 'Run Some.Method once a day
        If LastRun = ($Today)
            'Was already run today
 Else
            Some.Method
        End If
    EndRem

    Sleep 300000 'Sleep for 5 minutes then start check again

GoTo Start: