gg.Irrlicht / gg.IrrBMAX - the bell doth toll

BlitzMax Forums/BlitzMax Programming/gg.Irrlicht / gg.IrrBMAX - the bell doth toll

well if I do this

If KeyDown(KEY_ESCAPE)
device.closeDevice()
EndIf

It gives me a duplicate identifier error.


If I try
if keydown(gg.Irrlicht.KEY_ESCAPE)
device.closeDevice()
endif

It doesnt do anything at all, and they both were put into the main loop.