RosettaCodeData/Task/Fork/Sidef/fork.sidef
2023-07-01 13:44:08 -04: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