PRODUCT






Home









Free Download








Installation Instructions





FAQ





FAQ








Ask A Question





LEARN SCRIPTING





Overview








Lesson 1








2


3


4


5








Exam





SAMPLE SCRIPTS





Computer








Internet








Administrators








Developers








Data








Miscellaneous





HELP / DOCUMENTATION





Commands








Automated Internet








Automated Editors








Sample Scripts








Precompiled Functions








System Features






  Help Page - sleep

( Some help pages may not display correctly in html because those help pages may have sample code
in them, part of which may be mis-interpreted as html tags.

All help pages, including this help page, are available in biterScripting with the help command. )




Command sleep Purpose Halts execution for the given number of seconds. Aliases sl, sleep Syntax sleep <time> Options None. Arguments <time> Time in seconds to sleep for. This argument has the type real. This argument can be passed in terms of a constant variable or expression resulting in a real value. Stream Input Ignored. Stream Output None. Stream Error Any errors are listed here. Description The command halts execution for the specified number of seconds. The argument is assumed to be in number of seconds. Fractions of a second can be specified. Restrictions Valid Examples sleep 5.5 Sleeps for 5.5 seconds. var real r ... sleep ($r+5.0) Sleeps for the value of $r plus 5 seconds. The value of $r is left unchanged. Invalid Examples sleep -1 The above will not produce an error, but no sleep will actually take place. A negative argument to the command will be treated as 0.00. var str s set $s="2.3" sleep $s The above is not a syntactic error, in that, the string value of $s will be converted to a real value, which is 1.0 if the string is NOT empty. Thus the command will halt execution for 1.0 second. To sleep for 2.3 seconds (the real number contained in string $s), the following command may be used. sleep makereal(str($s)) See Also set var

2008-2013, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com. Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.