Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if endif bug ???
#1
Bug 
Hi everyone

Found this is when compiling a small test program. It compiled without errors. I think it's the endif of the world [Image: bug.png][Image: wink.png] (NED 1.1.3 windows)


Code:
a=1
if a=1
  wln a
endif
'say what ?
endif

wln "press space to exit"
wait keydown
end
Reply
#2
(06-16-2018, 06:51 PM)pedromartins Wrote: Hi everyone

Found this is when compiling a small test program. It compiled without errors. I think it's the endif of the world [Image: bug.png][Image: wink.png] (NED 1.1.3 windows)


Code:
a=1
if a=1
  wln a
endif
'say what ?
endif

wln "press space to exit"
wait keydown
end

   Nice find. Maybe if we ignore it, it will go away.

Anyway, I've heard somewhere that some bugs are really undocumented features.

   If you want to see another bug, add "then" after the second  " a=1".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)