// test various coercion situations // real[4] xs = {1, 1.5, 2, 2.4}; real[] ys = {1.2, 2, 4}; strand S (real x') { output real x = x'; int i = 1; update { x = (x if true else i); } } collection { S(x+y) | x in xs, y in ys }
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: int i = 1; update { x = (x if true else i); } } collection { S(x+y) | x in xs, y in ys }