Core Function Pause

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision)
 

Latest revision as of 12:37, 14 June 2015

Pause( <expression> )

Contents

Description

Pause the execution of the script on the console window until any key is pressed.

Parameters

expression

Optional; A message to display to user.

Return Value

None

Remarks

None.

Example

println("Hello");
Pause("Press any key to continue\n");
println("Good bye");

Alternatively you can use the System() command

println("Hello");
system("pause");
println("Good bye");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox