Control Structures – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
Tried "if" and "switch" structures. "If" examples are wrong here! They don't work, because each block '{ }' must end with ';'. Am I right?
Tried "if" and "switch" structures. "If" examples are wrong here! They don't work, because each block '{ }' must end with ';'. Am I right?


Also I can't get "switch" to work , anyone know how to use it? These examples are not working...
Also I can't get "switch" to work , anyone know how to use it? These examples are not working... --[[User:Messiah2|Messiah(UA)]] 12:19, 25 December 2006 (CET)

Revision as of 12:19, 25 December 2006

Tried "if" and "switch" structures. "If" examples are wrong here! They don't work, because each block '{ }' must end with ';'. Am I right?

Also I can't get "switch" to work , anyone know how to use it? These examples are not working... --Messiah(UA) 12:19, 25 December 2006 (CET)