[xiph-cvs] cvs commit: win32sdk sleep.js
Chris Wolf
cwolf at xiph.org
Wed Oct 17 20:28:24 PDT 2001
cwolf 01/10/17 20:28:24
Added: . sleep.js
Log:
Add WSH script support for sleep
Revision Changes Path
1.1 win32sdk/sleep.js
Index: sleep.js
===================================================================
/**
* WSH implementation of "sleep" for windows, since
* windows batch does have support for "sleep".
*
* Parameters: number of seconds to sleep
*
* $Id: sleep.js,v 1.1 2001/10/18 03:28:24 cwolf Exp $
*/
var a;
WScript.Interactive = false;
argv = WScript.Arguments;
if (argv.length > 0)
WScript.Sleep(argv(0) * 1000);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list