Skip to content
bergsma edited this page Sep 26, 2014 · 3 revisions

#sleep

###Sleep for a specified number of seconds.

Syntax

status = sleep seconds ;

Arguments

  1. int seconds

The number of seconds to sleep.

Return Value

str status
  • $ACKNOWLEDGE : The sleep function succeeded.

The STATUS variable is set to $ACKNOWLEDGE

  • %BOUNDS : Invalid sleep seconds.

The STATUS variable is set to %BOUNDS

Warnings

  • %BOUNDS : Invalid sleep seconds.

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = sleep seconds ;

Description

  • None

Examples

puts "Create an example for the function 'sleep'" ;

Related Links

None

Clone this wiki locally