Login | |
|
 |
RE: Timer in VB Script - 10/10/2006 2:22:36 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1183
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: online
|
ehvbs, I apparently am not understanding what you mean by "resolution of 1 second". When I am timing my functions for performance tuning, i use the vbscript timer function, and it gives me times like 2.12543 seconds.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Timer in VB Script - 10/10/2006 3:42:13 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1183
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: online
|
quote:
ORIGINAL: ehvbs Hi DiGiTAL.SkReAM, you are right: the resolution of the VBScript Timer function is better than 1 sec - I assume 1 millisec, because this scale is explicitly stated for the WScript.Sleep method. I was mislead by the VBScript Docs. This code and its output <-El Snippo-> ya see, that's yer problem... you actually READ the docs.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Timer in VB Script - 10/12/2006 1:01:53 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1183
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: online
|
quote:
ORIGINAL: ehvbs to check whether there are fractional parts. Otherwise you'll have to read the Docs (DiGiTAL.SkReAM's opinions not withstanding). You readers... always showing off... always reading... quote:
ORIGINAL: anthony12345 The problem is that I'm using VBScript code on a PDA, i.e. I'm coding on my PC and uploading the code to a PDA, then checking the result heya anthony, Are you trying to run an excel macro on the PDA? And if so, isn't that VBA? Sorry if wrong, I am not very familiar with vbscript on CE.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
|
|