beautypg.com

Waitfor, Or, w – Visara Master Console Center Scripting Guide User Manual

Page 208

background image

Chapter 5 Script Commands

Scripting Guide

208

WAITFOR

Syntax:

WAITFOR( %Seconds)

Description:

Pauses script execution for the specified number of seconds.

Action:

Execution of the current script is paused for the specified number of

seconds.

Parameters:

%Seconds. Numeric expression. The number of seconds to pause.

Returns:

N/A.

Notes:

N/A

Example:

DOUNIT( 1, ON)
WAITFOR( 2)
DOUNIT( 2, ON)
WAITFOR( 15)
CPUPOWER( 1, ON)
SCANP( 1, “PSW 00000000 00000000”, 1800, *IMLERR)

See Also:

WAITUNTIL