![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ReudsFratt92 |
I’ve been using godot for some time, but never thought of this before:
match a:
1-10:
i+=10
10:pass
11:pass
12-15:
flag=false
return ens(i)
How do I turn it into this the way it should be?:
match a:
1,2,3,4,5,6,7,8,9:
i+=10
10:pass
11:pass
12,13,14,15:
flag=false
return ens(i)
Because if I have a thousand identical cases, I would not want to list them all with a comma