blob: f49a76bb7f5182a0db93323314c68c86992c3550 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
include rt;
include run;
include icon;
int counter = 6;
fn main() {
let q = run.tokens("counter += 4; return counter;");
let frame = icon.begin(q);
rt.put_n(icon.bind_global(frame, "counter")); rt.put_c(' ');
icon.resume(frame, 3);
rt.put_n(counter); rt.put_c(' '); rt.put_n(icon.result(frame)); rt.put_c(10);
icon.close(d*frame);
return 0;
}
|