Difference between revisions of "Talk:If"

Jump to navigation Jump to search
267 bytes added ,  05:01, 22 September 2009
imported>DragoonWraith
imported>DragoonWraith
Line 162: Line 162:
even if the first variable were true? --[[User:Notthross|Notthross]] 03:22, 22 September 2009 (EDT)
even if the first variable were true? --[[User:Notthross|Notthross]] 03:22, 22 September 2009 (EDT)


:No. Use nested If statements for that. Very important, good question.
:Yes. If you need it to not do that (for example, if the first condition is supposed to prevent the second in certain situations where even asking would cause a crash, commonly when you're dealing with ref variables that may or may not actually be set to any reference or object), use nested If statements. Very important, good question.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 06:00, 22 September 2009 (EDT)
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 06:00, 22 September 2009 (EDT)

Navigation menu