return from Function not working?

BlitzMax Forums/BlitzMax Beginners Area/return from Function not working?

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.

Hey, thanks guys, it works now. Actually, turning on STRICT mode helped uncover a few other problems too.

In the end, I did the following changes:

Winner=LogicModule() (JazzieB's suggestion)
&
Function LogicModule:Int() (AngelDaniel's suggestion)

The combination did it. You guys rock!