forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Wait 0,1

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Fri Feb 22, 2008 7:08 am    Post subject: Wait 0,1 Reply with quote

wait 0,1

wait 0.1

What is the difference in this two... Question
Back to top
View user's profile Send private message Send e-mail
JerryDee
Contributor
Contributor


Joined: 19 Oct 2005
Posts: 53
Location: Czech Republic

PostPosted: Fri Feb 22, 2008 8:36 am    Post subject: Reply with quote

Hi filip,

The difference is in local setings (control panels).
Single countries use different expression for decimal point (they use a "coma sign" in place of a "point sign"), in such case you should use this setting:

OPTION DECIMALSEP,.

_________________
Jerry
(VDS 4,5,6 Pro | V-Setup 3)
Back to top
View user's profile Send private message Send e-mail
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Fri Feb 22, 2008 9:47 am    Post subject: Reply with quote

The funny thing is that...

0,1 is like 0.9 if you test the speed...
Back to top
View user's profile Send private message Send e-mail
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Fri Feb 22, 2008 1:56 pm    Post subject: Reply with quote

filip wrote:
The funny thing is that...

0,1 is like 0.9 if you test the speed...

That's because your version of Windows would use a decimal point instead of a comma so 0,1 for you would be 1 second (it'd ignore the 0 and the comma).

You should put OPTION DECIMALSEP,"." at the top of all of your scripts and then always use a decimal. That way your scripts will still work correctly for someone else even if they're in a country that uses a comma.

_________________
cheers

Dave


Last edited by DaveR on Fri Feb 22, 2008 5:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Fri Feb 22, 2008 3:42 pm    Post subject: Reply with quote

filip wrote:
The funny thing is that...

0,1 is like 0.9 if you test the speed...


Filip,
What is your method for testing the speed of the Wait command? You will never get a precise measurement from the Wait command and besides 1 millisecond is very hard to achieve in Windows unless you use a high precision timer that can do micro-seconds. You can adjust the wait command if you need too. Take a look at the OPTION SLEEPTIME command. VDS defaults to 50ms unless you adjust the sleeptime option.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Sun Feb 24, 2008 7:03 am    Post subject: Reply with quote

You can try with Progress

or

play dumy.wav (you will hear PC Speaker) don't use any file for this
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group