awtk/tests/fscripts/demo_while4.fs
2021-01-07 15:14:14 +08:00

14 lines
98 B
GLSL

a=0
b=0
while(a < 100) {
a=a+1
b=b+a
if(a > 20) {
break;
}
print(a, b)
}
print(b)