sleep(1000) vs sleep("1s")

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

sleep(1000) vs sleep("1s")

Post by Econdoc » 18 Oct 2017 19:26

Is there any difference in flow behavior with this two commands? I get a sense that in some contexts (like CONTROL UI), they do not behave the same way. Can anyone tell me whether they work exactly the same way or not?
Thanks

(Just to be clear, I am asking whether within a CONTROL UI or within a script, sleep(1000) works differently than would sleep("1s"). )

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: sleep(1000) vs sleep("1s")

Post by Martin » 18 Oct 2017 19:32

Hi,

sleep(1000) and sleep("1s") are effectively using the same implementation internally so it should behave the same.

Regards,
Martin

Post Reply