beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 355

background image

F

UNCTION

R

EFERENCE

S

LEEP

(

PERIOD

)

R

EVISION

1

P

AGE

339

S

LEEP

(

PERIOD

)

A

RGUMENT

T

YPE

D

ESCRIPTION

period

int

The period for which to sleep, in milliseconds.

D

ESCRIPTION

Sleeps the current task for the indicated number of milliseconds. This function is normally
used within programs that run in the background, or that implement custom communications
using Raw Port drivers. Calling it in response to triggers or key presses is not recommended.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

Sleep(100)