RosettaCodeData/Task/Fork/Sidef/fork.sidef
2016-12-05 23:44:36 +01:00

3 lines
116 B
Text

var x = 42;
{ x += 1; say x }.fork.wait; # x is 43 here
say x; # but here is still 42