Talk:Else

From Wiki
Revision as of 18:24, 28 December 2007 by 201.52.70.70 (Talk) (question about ''else'')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

"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