Weird Error

BlitzMax Forums/BlitzMax Beginners Area/Weird Error

TwoCorin517(Posted 2008) [#1]
I'm working on making a (possibly) open-source library of code for RPGs, mostly text RPGs...

Unfortunetly in order for portablity between console and GUI alike I've run into a problem with an "In" function which is essential input() for maxGUI.


That's the code, but whenever I compile it gives this error:
Unhandled Exception:Invalid Gadget type

Any help/suggestions?


degac(Posted 2008) [#2]

Where is the error?


Otus(Posted 2008) [#3]
When you compile? No compile error for me. Running it works too, but it doesn't capture the input.

Which line do you get the error on?

EDIT: You beat me to it.


TwoCorin517(Posted 2008) [#4]
thank you you guys it works!