Page 1 of 1

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

Posted: 18 Oct 2017 19:26
by Econdoc
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"). )

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

Posted: 18 Oct 2017 19:32
by Martin
Hi,

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

Regards,
Martin