1 2 3 4 5 6
require("import") -- the import fn import("ret_by_value") -- import code a = ret_by_value.get_test() assert(a.myInt == 100) assert(a.myShort == 200)