Lua: Unterschied zwischen den Versionen

Aus Hacker Motor Wiki
Wechseln zu: Navigation, Suche
(JETImodel)
Zeile 1: Zeile 1:
 
[[Category:JETI Duplex]]
 
[[Category:JETI Duplex]]
 
[[en:Lua]]
 
[[en:Lua]]
 +
==Entwicklungsumgebung Atom==
 +
Text
  
 +
==Grundsätzlicher Skript-Aufbau für DS/DC-Sender==
 +
local function init(code)
 +
system.registerForm(1,MENU_MAIN,appName ,initForm, keyForm, printForm, closeForm)
 +
image = lcd.loadImage("Apps/hacker/hacker-logo.png")
 +
print("Init function running")
 +
end
 +
 +
local function loop()
 +
end
 +
 +
return {init=init, loop=nil, author=appAuthor, version=appVersion, name=appName}
 +
 
==Links==
 
==Links==
 
* [https://www.lua.org/manual/5.3/ Lua 5.3 Reference Manual (Englisch)]
 
* [https://www.lua.org/manual/5.3/ Lua 5.3 Reference Manual (Englisch)]

Version vom 8. Juli 2020, 14:21 Uhr

Entwicklungsumgebung Atom

Text

Grundsätzlicher Skript-Aufbau für DS/DC-Sender

local function init(code)
system.registerForm(1,MENU_MAIN,appName ,initForm, keyForm, printForm, closeForm)
image = lcd.loadImage("Apps/hacker/hacker-logo.png")
print("Init function running")
end

local function loop()
end

return {init=init, loop=nil, author=appAuthor, version=appVersion, name=appName}

Links

Downloads

Entwicklungsumgebungen

JETImodel