User Tools

Site Tools


gemus_script_reference:functions:wait

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

gemus_script_reference:functions:wait [2020/05/12 11:31] (current)
Jimbo created
Line 1: Line 1:
 +You are here: home » gemus_script_reference » functions » wait
  
 +This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong.
 +
 +Back to [[.:|Script Function Reference]]
 +
 +====== Wait() ======
 +
 +The Wait() function pauses the running script for a specified number of milliseconds.
 +
 +===== Syntax =====
 +
 +<​code>​Wait(ms)</​code>​
 +
 +===== Arguments =====
 +
 +^ Argument ^ Required ^ Description ^
 +| //ms// | Yes | The number of milliseconds to wait for. Any [[..:​environment_variables|script environment variables]] found in //ms// will be replaced by their actual values when the script is executed. If the resulting argument value is not an integer number, 0 will be used and so waiting will be skipped. |
 +\\ 
 +
 +===== Examples =====
 +
 +<​code>​
 +Wait(2000)
 +
 +Wait(%wait_value%)
 +</​code>​
 +
 +===== Remarks =====
 +
 +Use this function with care: if you specify //ms// as 1000000 then the script will wait for 15 minutes, with no way of aborting!
 +
 +===== See Also =====
 +
 +  * [[.:|Script Function Reference]]
 +
 +
 +Trace:
 +
 +article discussion show pagesource old revisions
 +navigation
 +Home
 +
 +Login
 +search
 +   
 +Recent changes monobook template for DokuWiki DokuWiki Valid XHTML
 +gemus_script_reference/​functions/​wait.txt · Last modified: 2015/05/19 19:48 (external edit)
 +Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
 +
 + 
gemus_script_reference/functions/wait.txt · Last modified: 2020/05/12 11:31 by Jimbo