This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Just wondering since when for loops are supported within the galaxy language? (Somebody knows that?)
example:
void init(){ int i = 0; for(; i < 10;i+=1){ UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, StringToText("Integer: "+IntToString(i))); } }
Quote from xDSchurke: GoJust wondering since when for loops are supported within the galaxy language? (Somebody knows that?)
"since when" as in they do work now? Would be news to me, afaik plain galaxy script does only support while-loops.
try it, works in vanilla galaxy script
Interesting discovery. I wonder if gui code is also translating its for-loops to galaxy for-loops, or if they are still using 'while'.
GUI for-loops are still converted to while-loops
Just wondering since when for loops are supported within the galaxy language? (Somebody knows that?)
example:
"since when" as in they do work now? Would be news to me, afaik plain galaxy script does only support while-loops.
try it, works in vanilla galaxy script
Interesting discovery. I wonder if gui code is also translating its for-loops to galaxy for-loops, or if they are still using 'while'.
GUI for-loops are still converted to while-loops