Team Spartan Cookies & Milk Forums
Loop "continue" - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Loop "continue" (/thread-2821.html)



Loop "continue" - Skeleton - 10-10-2018

Hello,

Could we have the continue statement in Starfall? Perhaps there is already this statement but under another name?

Thank you.



RE: Loop "continue" - mariofludd - 11-10-2018

isnt continue just end? I don't know starfall and you're talking about a js function (which i dont know js either)


RE: Loop "continue" - Kosmos - 13-10-2018

Continue aborts the current iteration of a loop but still runs those that are to come (unlike break).
GLua has continue but Lua does not and (because it's a Lua dialect) neither does starfall.