Is there an easy way to make some "sleeping program" functionality by just calling function, such as it has been made in Java with Thread.sleep()?
Sleep method causes, in brief, app to wait indicated time (no. of milisec.) and after that time returns to next line of code (so it "blocks" - it isn't not proper word, though - the current thread).
Thanx in advance.