Difference between revisions of "Talk:Else"

From Wiki
Jump to: navigation, search
(question about ''else'')
(No difference)

Revision as of 19:24, 28 December 2007

"Must be placed immediately after the true command from the if statement."

This mean I can't do this?


set %a 1
if %a = 1
  { 
   display ok % , is 1
  }
else 
if %b = 2 
  { 
   display ok % , is 2
  }
else 
if %b = 3 
  { 
   display ok % , is 3
  }
halt