You are here: Surpac Concepts > Macros > SCL > System and Misc > SclPause
GEOVIA Surpac

SclPause

Overview

Pause execution of the script for a defined period or until a button is pressed if the period is undefined.

Synopsis

SclPause $Period

Description

This command will delay execution of the script until the specified period in seconds has expired or, if no period is defined, until a button press or mouse click occurs.

Arguments

  • Period
  • Passed by value. Optional argument that, if present, defines the period in seconds that execution is to pause. If not present execution will pause until a keyboard button or mouse button is pressed.

Examples

# pause for 5 seconds
SclPause 5