Newer
Older
Import / applications / HighwayDash / ports / Framework / test.lua
@John John on 29 Dec 2020 274 bytes bulk import from macbookpro checkouts
-- Lua Hello World (test.lua)
function helloWorld ()
  io.write ("hello World from Lua\n")
  printMessage1("calling c from lua\n", 2, 1001.0, " 4")
  noArgs()
  testF("1234")
end

function args_test (a, b, c)
  io.write(string.format("%d,%f,%s\n", a, b, c))
  return 4
end