Jump to content

Sleep: Difference between revisions

no edit summary
(→‎{{header|Go}}: complete example)
No edit summary
Line 412:
return 0;
}</lang>
 
=={{header|Objeck}}==
<lang objeck>
bundle Default {
class Test {
function : Main(args : System.String[]) ~ Nil {
if(args->Size() = 1) {
ms := args[0]->ToInt();
ms->PrintLine();
"Sleeping..."->PrintLine();
Thread->Sleep(ms);
"Awake!"->PrintLine();
};
}
}
}
</lang>
 
=={{header|OCaml}}==
760

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.