-- this is a sample small module

-- declare the module name
-- package.seeall is very important, if you don't declare it
-- you won't be able to call most of FBA functions (graphics, sounds, etc) from your modules
--
module("my_module_name", package.seeall)


-- this is a function inside a module, so you must call it with 
-- my_module_name.myfunction
--
function myfunction()
        print(20,40,"THIS FUNCTION IS INSIDE MYMODULE", 255, 0,0)
end
