Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Smellyhobo101 | |
Old Version | Published before Godot 3 was released. |
I tried this code:
shader_type canvas_item;
void fragment() {
for (int i, i < 10, i++) {
float asdf = 1.0;
}
}
I get this error:
error(4): Expected expression, found: CF_FOR
Is there something wrong with my syntax or are for loops not implemented yet?