Closed ghost closed 4 years ago
@t0md3an This is currently how you can do the same thing:
repeat (10), print(idx)
repeat (10) {
print(idx)
}
I've been thinking of making a way to avoid using ,
but until I figure out how possible it is, this is how you do it
@t0md3an This has been added in 9d2061a3de305f92c4a39c76a8da751a1224bd36 and should now work as expected:
repeat 10 print(idx)
repeat (10) print(idx)
repeat 10 {
print(idx)
}
repeat (10) {
print(idx)
}
@IsaacShelton Have you planned to support this syntax:
for
if
,for
,repeat
and etc.NOTE: Like in C