BSL talk:Manual: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
---- | ---- | ||
:Wow, interesting. Although I don't think it matters that something2 and somethingX are undeclared, because BSL supports weak syntax. But why does it stop at 4? Hmm.... --[[User:Iritscen|Iritscen]] 17:21, 6 December 2009 (UTC) | :Wow, interesting. Although I don't think it matters that something2 and somethingX are undeclared, because BSL supports weak syntax. But why does it stop at 4? Hmm.... --[[User:Iritscen|Iritscen]] 17:21, 6 December 2009 (UTC) | ||
::iterate doesn't really work, so I'm not suprised. :) Not sure about the riddle_counter thing. Does it still break when you use else if? BSL is goofy. :) [[User:Gumby|Gumby]] 10:06, 7 December 2009 (UTC) | |||
http://upload.wikimedia.org/wikipedia/en/0/09/Gorshinriddler.JPG | |||
<gallery> | |||
<gallery> | |||
Image:Example.jpg|Caption1 | |||
Image:Example.jpg|Caption2 | |||
</gallery> | |||
<gallery> | |||
Image:Example.jpg|Caption1 | |||
Image:Example.jpg|Caption2 | |||
</gallery> | |||
</gallery> | |||
<gallery> | |||
<gallery> | |||
Image:Example.jpg|Caption1 | |||
Image:Example.jpg|Caption2 | |||
</gallery> | |||
<gallery> | |||
Image:Example.jpg|Caption1 | |||
Image:Example.jpg|Caption2 | |||
</gallery> | |||
</gallery> |
Revision as of 10:06, 7 December 2009
Tested this code in bio lab. Loop stops after displaying "riddle 4" for no reason. Strange enough: somethingX isn't declared but the code doesn't crash. Riddle me that. =D --Paradox-01 16:37, 6 December 2009 (UTC)
var int riddle_counter = 0; func main { chr_wait_animtype 0 punch #dmsg "Second test in bio lab." BSL_chaos } func BSL_chaos { dmsg "hello?" riddle_counter = riddle_counter + 1; if (riddle_counter eq 1) { dmsg "[g.riddle 1]" } if (riddle_counter eq 2) { dmsg "[g.riddle 2]" } if (riddle_counter eq 3) { dmsg "[g.riddle 3]" } if (riddle_counter eq 4) { dmsg "[g.riddle 4]" } if (riddle_counter eq 5) { dmsg "[g.riddle 5]" #dmsg "[r.ends here in compound level]" } if (riddle_counter eq 6) { dmsg "[g.riddle 6]" } sleep 60 something2 = BSL_chaos iterate over something2 using somethingX }
- Wow, interesting. Although I don't think it matters that something2 and somethingX are undeclared, because BSL supports weak syntax. But why does it stop at 4? Hmm.... --Iritscen 17:21, 6 December 2009 (UTC)
- iterate doesn't really work, so I'm not suprised. :) Not sure about the riddle_counter thing. Does it still break when you use else if? BSL is goofy. :) Gumby 10:06, 7 December 2009 (UTC)
- Example.jpg
Caption1
- Example.jpg
Caption2
- Example.jpg
Caption1
- Example.jpg
Caption2
</gallery>
- Example.jpg
Caption1
- Example.jpg
Caption2
- Example.jpg
Caption1
- Example.jpg
Caption2
</gallery>