19,580
edits
Paradox-01 (talk | contribs) No edit summary |
No edit summary |
||
Line 95: | Line 95: | ||
:Okay, that must be a limitation of the function stack in BSL. If you put "fork BSL_chaos", it goes all the way to six. I had already tried "fork BSL_chaos" in the previous code, but it doesn't accept the keyword "fork" in that context. I guess I should have said something earlier, but I assumed for some reason that the execution stack was bigger than that, so I figured it was "iterate" that was limiting us somehow. Well, congrats on figuring out a way to use "iterate", although I still think it was meant for arrays. --[[User:Iritscen|Iritscen]] 23:19, 8 December 2009 (UTC) | :Okay, that must be a limitation of the function stack in BSL. If you put "fork BSL_chaos", it goes all the way to six. I had already tried "fork BSL_chaos" in the previous code, but it doesn't accept the keyword "fork" in that context. I guess I should have said something earlier, but I assumed for some reason that the execution stack was bigger than that, so I figured it was "iterate" that was limiting us somehow. Well, congrats on figuring out a way to use "iterate", although I still think it was meant for arrays. --[[User:Iritscen|Iritscen]] 23:19, 8 December 2009 (UTC) | ||
::Ah ok, always fork... But I don't think we can use iterate already. "something2 = BSL_chaos; iterate over something2 using somethingX" didn't produce error messages but how can we set iterate variable to numbers? Using "var int somethingX = 3" failed. :| --[[User:Paradox-01|Paradox-01]] 10:34, 9 December 2009 (UTC) | ::Ah ok, always fork... But I don't think we can use iterate already. "something2 = BSL_chaos; iterate over something2 using somethingX" didn't produce error messages but how can we set iterate variable to numbers? Using "var int somethingX = 3" failed. :| --[[User:Paradox-01|Paradox-01]] 10:34, 9 December 2009 (UTC) | ||
:::Well normally an "iterate" command is used on an array. So if we could make an array, we might be able to say "iterate over theArray using somethingX", and on each runthrough, somethingX would be set to the next element in theArray. If they decided that arrays were not needed, or too much work to implement, they might have removed them from BSL. --[[User:Iritscen|Iritscen]] 11:29, 9 December 2009 (UTC) |