/* BUG: as it is, program never seems to get to the print statement, but nor does it ever finish executing. Uncomment the "if (true)" and everything works fine */ real bogus = 1.0; strand sqroot(real val) { output real root = 0.0; update { print(val, "\n"); //if (true) stabilize; } } // Strand initialization initially [ sqroot(i) | i in 1..20 ];
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: /if (true) stabilize; } } // Strand initialization initially [ sqroot(i) | i in 1..20 ];