Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1.8.1 error unexpected token 'ELSEIF'
#1
Estaba compilando correctamente con la version estable 1.7.2 y al actualizar a la version 1.8.1 en desarrollo me sale esto: Alguna idea?
Was compiling correctly with the stable version 1.7.2 and update to the version 1.8.1 in development I get this: any idea?

if n=0 then c="\a"
elseif n=1 then c="\{i6}\b" -->error unexpected token 'ELSEIF'
elseif n=2 then c="\{i2}\c"
end if
Reply
#2
Have you tried with newlines?
Code:
if n=0 then
  c="\a"
elseif n=1 then
  c="\{i6}\b"
elseif n=2 then
  c="\{i2}\c"
end if
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply
#3
True. "ELSEIF" requires newlines.
Rolleyes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)