Is this a bug?

BlitzPlus Forums/BlitzPlus Beginners Area/Is this a bug?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Tip for the future, Siopses: when looking for help in the forums, always give some details along with a problem instead of just saying it isn't working. Does the program run, or do you get a runtime error message (REM)? If you get a REM, what does it say?

In your GUI_Juggler(CURRENT_EVENT) function, the (CURRENT_EVENT) variable isn't necessary in your function declaration. In other words, you don't need GUI_Juggler(CURRENT_EVENT), just GUI_Juggler(). Then in your ReturnName(Name) function, you have the code:
While Not GUI_Juggler($803)
The $803 in the parentheses is needless. See, when you call GUI_Juggler(CURRENT_EVENT) like that, you pass the event $803 to the CURRENT_EVENT variable, but then, in the first line of code in GUI_Juggler(), you have the code:
CURRENT_EVENT = WaitEvent()
which renders the $803 obsolete. All you need is to have the function GUI_Juggler() with nothing in the parentheses, and the same thing in yuor ReturnName(Name) loop. Does that make any sense?

BTW, glad I could help on your code problem.