September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,23 +1,23 @@
|
|||
import system'calendar.
|
||||
import system'routines.
|
||||
import system'threading.
|
||||
import system'math.
|
||||
import extensions.
|
||||
import system'calendar;
|
||||
import system'routines;
|
||||
import system'threading;
|
||||
import system'math;
|
||||
import extensions;
|
||||
|
||||
someProcess =
|
||||
[
|
||||
thread sleep(1000).
|
||||
someProcess()
|
||||
{
|
||||
threadControl.sleep(1000);
|
||||
|
||||
Range new(0,10000); filterBy(:x)(x mod:2 == 0); summarize.
|
||||
].
|
||||
new Range(0,10000).filterBy:(x => x.mod:2 == 0).summarize();
|
||||
}
|
||||
|
||||
program =
|
||||
[
|
||||
var start := now.
|
||||
public program()
|
||||
{
|
||||
var start := now;
|
||||
|
||||
someProcess eval.
|
||||
someProcess();
|
||||
|
||||
var end := now.
|
||||
var end := now;
|
||||
|
||||
console printLine("Time elapsed in msec:",(end - start) milliseconds).
|
||||
].
|
||||
console.printLine("Time elapsed in msec:",(end - start).Milliseconds)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue