godot/modules/gdscript/tests/scripts/parser/features/while.gd

6 lines
58 B
GDScript

func test():
var i = 0
while i < 5:
print(i)
i += 1