gmqcc/tests/forloop.qc

14 lines
190 B
C++
Raw Normal View History

2015-01-20 19:55:27 +00:00
void main() {
float j;
for (j = 0; j < 2; ++j)
print("+");
for (float i = 0; i < 5; ++i)
print("*");
for (;;) {
print("\n");
break;
}
}