WaitMS

Purpose

This function waits the number of specified milliseconds. The application still processes events, but will sleep so the script does not use all the CPU.

Parameters

Parameter: Millisecs
Type: Integer
Description: The number of milliseconds to wait.

Returns

None.

Examples

' wait 2 seconds

hsp.WaitMS 2000