c_for
Syntax
c_for(init, condition, increment, body)
Mimics a C-Style for
loop for (init; condition; increment) { body }
for (int i = 0; i < 5; i += 1) {
printf("%d\n", i);
}
c_for(i = 0, i < 5, i += 1, print(i));
c_for(init, condition, increment, body)
Mimics a C-Style for
loop for (init; condition; increment) { body }
for (int i = 0; i < 5; i += 1) {
printf("%d\n", i);
}
c_for(i = 0, i < 5, i += 1, print(i));