OV_SLEEP

LANSA Technical

OV_SLEEP

Þ Note: Built-In Function Rules

Pauses the program for the specified number of milliseconds.

Note: The user of this Built-In Function is responsible for any impact it has on any application. No warranty of any kind is expressed or implied. Refer to full Disclaimer.

Function No:

986

DLL Required:

U_BIF986.DLL

 

For use with

Visual LANSA for Windows

YES

Visual LANSA for Linux

YES

LANSA for i

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

N

Req

Time to wait in milliseconds

1

15

0

0

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Opt

Empty is always returned.

2

2

 

 

 

 

Technical Notes

On Linux the time to wait is converted from milliseconds to seconds.

Example

To sleep in 5 seconds, use this command:

USE BUILTIN(OV_SLEEP) WITH_ARGS(5000)