19,580
edits
Script 10k (talk | contribs) (else if staments) |
No edit summary |
||
Line 1: | Line 1: | ||
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 --[[User:Paradox-01|Paradox-01]] 16:37, 6 December 2009 (UTC) | 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 --[[User:Paradox-01|Paradox-01]] 16:37, 6 December 2009 (UTC) | ||
Line 104: | Line 98: | ||
::::"if we could make an array" Maybe we need a new [[OBD:StNA|StNA]] file. --[[User:Paradox-01|Paradox-01]] 21:59, 12 December 2009 (UTC) | ::::"if we could make an array" Maybe we need a new [[OBD:StNA|StNA]] file. --[[User:Paradox-01|Paradox-01]] 21:59, 12 December 2009 (UTC) | ||
:::::Eh, that's not really the same thing. We'd need to insert new code into the existing BSL code to add array functionality. Unless it's already lurking in the source and we just haven't figured out how to use it yet. --[[User:Iritscen|Iritscen]] 23:00, 12 December 2009 (UTC) | :::::Eh, that's not really the same thing. We'd need to insert new code into the existing BSL code to add array functionality. Unless it's already lurking in the source and we just haven't figured out how to use it yet. --[[User:Iritscen|Iritscen]] 23:00, 12 December 2009 (UTC) | ||
---- | |||
"The only conditional statement is "if", with an optional "else" follow-up." | |||
You can also use 'else if' statements. [[User:Script 10k|Script 10k]] ([[User talk:Script 10k|talk]]) 12:00, 6 December 2015 (CET) | |||
:Oh, thanks! For some reason I thought I had checked for that and found there to be no such feature in BSL. Interesting how Bungie never used "else" or "else if". --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 23:26, 6 December 2015 (CET) |