[an error occurred while processing this directive]
Forms Processor Advanced Commands
Contents   Index of Commands   Search the Forms Processor Docs   
sleep Suspends execution of a Form Processor script for n seconds. Used primarily for server push animations.

$dummy = sleep(n);

Example:

# do a 2 icon server push

format screen nh
Content-type: multipart/x-mixed-replace;boundary=ThisRandomString


--ThisRandomString
.

# pause for a moment

$pause=sleep(1);

format screen nh
Content-type: image/gif

.

format screen nh source www/graphics/wink1.gif literal

# yawn

$pause=sleep(1);

format screen nh

--ThisRandomString
Content-type: image/gif

.

format screen nh source www/graphics/wink2.gif literal


[an error occurred while processing this directive]