Newer
Older
Import / applications / HighwayDash / ports / Data / test.lua
@John Ryland John Ryland on 22 Dec 2020 288 bytes import NUC files
-- Lua Hello World (test.lua)
function helloWorld ()
  io.stderr: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.stderr:write(string.format("%d,%f,%s\n", a, b, c))
  return 4
end