sleep(ms) and xpause(µs) are duplicates. Please merge them and undocument xpause()
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
All usages for both are:
sleep(milliseconds)
xpause(microsecs)
If any of them have peculiar features, if they respectively implement the delay in distinct ways -- for instance wrt callbacks --, this is not documented. Otherwise, they should be merged. They are simple, withonly one available syntax. So merging them should be easy, as undocumenting the not-leaving one. "sleep" is a name clearer and less misleading (wrt "pause") than "xpause". Thanks.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
tic();
xpause(1000000)
toc()
sleep(1000)
toc()
help xpause
help sleep
https://help.scilab.org/docs/5.5.2/en_US/sleep.html
https://help.scilab.org/docs/5.5.2/en_US/xpause.html