Sleep: Difference between revisions

Content added Content deleted
m (added Diego entry)
m (→‎{{header|Diego}}: syntax error)
Line 1,031: Line 1,031:
=={{header|Diego}}==
=={{header|Diego}}==
Diego is zero-threaded, meaning that the callee can handle the instruction how they wish (dependant on decision behaviour), however, the thread behaviour can be stipulated in code.
Diego is zero-threaded, meaning that the callee can handle the instruction how they wish (dependant on decision behaviour), however, the thread behaviour can be stipulated in code.
<lang diego>begin instuct(sleepTime);
<lang diego>begin_instuct(sleepTime);
ask_human()_first()_msg(Enter number of seconds to sleep: )_var(sleepSecs)_me();
ask_human()_first()_msg(Enter number of seconds to sleep: )_var(sleepSecs)_me();
set_decision(asynchronous)_me();
set_decision(asynchronous)_me();