konstantinos Vasilakos
2014-09-08 07:36:49 UTC
Hi all,Â
I was playing with some code this morning, and came across something accidentally peculiar, or at least something I wasnât aware of in SC. If I execute this:
x = {
var name = [âK", "M", "N"].choose;
("hello " ++ name).postln;
x.value
};
x.value
It will start an endless loop of evaluating this function, is there any viable explanation to that?
â â
SC 3.7alpha | MacOS 10.9
I was playing with some code this morning, and came across something accidentally peculiar, or at least something I wasnât aware of in SC. If I execute this:
x = {
var name = [âK", "M", "N"].choose;
("hello " ++ name).postln;
x.value
};
x.value
It will start an endless loop of evaluating this function, is there any viable explanation to that?
â â
SC 3.7alpha | MacOS 10.9