CAPL Script

ReplayState

Syntax

dword ReplayState (char pName[])

Function

Returns the state of the Replay Block with the namepName.

Parameters

pName Name of the Replay Block

Return Values

0: Replay Block is stopped (state: stopped)

1: Execution of the Replay file was started (state: running)

2: Execution of the Replay file was stopped (state: suspended)

(dword)-1: when the Replay Block does not exist

Example