Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:lua [2018-01-15 13:33] becki [File access] |
becki:linux:lua [2023-12-27 13:57] (aktuell) becki [Classes and Objects] |
||
---|---|---|---|
Zeile 34: | Zeile 34: | ||
[[http://kripken.github.io/lua.vm.js/script_example.html|lua.vm.js]] thanks to asm.js | [[http://kripken.github.io/lua.vm.js/script_example.html|lua.vm.js]] thanks to asm.js | ||
+ | |||
+ | ==== Lua for Java/Android == | ||
+ | |||
+ | [[https://sourceforge.net/projects/luaj/|Luaj]], seen at [[https://github.com/M66B/XPrivacyLua/blob/master/README.md|XPrivacyLua]] | ||
===== C-style ?-operator equivalent == | ===== C-style ?-operator equivalent == | ||
Zeile 253: | Zeile 257: | ||
===== Classes and Objects == | ===== Classes and Objects == | ||
+ | |||
+ | See also projects/accounting/sbaccimport which has since rev 482:c85c255f1870 classes with inheritance where the constructor new() is a class method and can therefore be reused in child classes similar to PIL capter 21 | ||
==== Classes as Object templates == | ==== Classes as Object templates == | ||
<code lua> | <code lua> |