I'm stuck on the simple stuff! Here's my test module:
Here's my test app that uses the module:
But it doesn't work! Can anyone point me in the right direction? Thanks!
Strict Module mge.mgetest ModuleInfo "Name: My First Module" ' Type MyXY Field x:Float,y:Float End Type ' Function CreateNewXY:MyXY() Local o:MyXY = New MyXY o.x = 100 o.y = 200 Return o EndFunction
Here's my test app that uses the module:
Import mge.mgetest ' Type MyXY Field x:Float,y:Float End Type ' Global vt:MyXY ' vt = CreateNewXY() Print vt.x Print vt.y '
But it doesn't work! Can anyone point me in the right direction? Thanks!