Repeat / EndRepeat

Item Description

Use with:

Startup scripts, Terminal Launcher, Web, and Windows

SecureLogin version:

All

Type:

Action

Usage:

Repeat [loop#]
EndRepeat

Arguments:

[loop#]

The number of times the repeat script block is repeated. If you don't specify a number, the repeat continues indefinitely.

Description:

The Repeat command establishes a script block similar to the If command. The EndRepeat command terminates the repeat block. To break out of a repeat block, use the Break command or the EndScript command.

Syntax examples:

Repeat
Repeat 3

Example:

Dialog  
 Title "Login"
 Ctrl #1
EndDialog
Repeat 
 Type \N 
 If -Text "Login Successful" 
  Break 
 EndIf
EndRepeat