Why doesn't elseif work?
- Posted by Ray Tomes <rtomes at ihug.co.nz> Jun 17, 2003
- 412 views
G'day The if statement says you can use elseif and gives the following example: if char = 'a' then x = 1 elsif char = 'b' or char = 'B' then x = 2 elsif char = 'c' then x = 3 else x = -1 end if However when I use elseif it says "elseif" hasn't been declared. "if" doesn't say it needs any includes, so what gives? Ray Tomes