// How to use:
// Create a text file [e.g mycode.nedlua]
// or even [e.g game.txt]
// Then write some code in it:
// e.g: toon("Hallo NedLua")
// Then simply open a command console
// and type:
// NedLua.exe yourfile.txt
// (with yourfile.txt being the file from before)
// Then it should run your code!
// (e.g 'Hallo NedLua')
// ---------------------
// your code can be compiled:
// NedLuaCompiler.exe -o compiled.cnedlua yourfile.txt
// ---------------------------
// NOTE: Lua cant run NedLua (compiled) code!
// NOTE: binary names can vary by version or platform.
// Cheatsheet
//------------------
// -- Opmerkingen -- //
// Opmerking
-- Opmerking
//------------------
// -- condities -- //
als conditie dan
toon("waar")
anderals conditie dan
toon("misschien")
anders
toon("nee")
einde
//------------------
// -- Variabelen -- //
lokaal x = 2
twee, vier = 2, 4
//------------------
// -- Functies -- //
functie mijnfunctie()
return 1
einde
//------------------
// -- Lussen -- //
wanneer conditie doe
einde
---
voor i = 1,9 doe
einde
---
herhaal
tot conditie
---
// ga uit loop:
wanneer x doe
als conditie dan breek einde
einde
//------------------
// -- Globale functies -- //
laadscript("hallo.nedlua")
uitvoeren("hallo.nedlua")
---
controleer(x) // is x geldig?
controleer(x, "niet geldig")
---
toon("Hallo NedLua!")
waarschuwen("oh javascript!")
fout("geen ai gebruiken!")
---
(more to add later)
Website Version: 3.14 at 07/09/26 - NeoCircuit-Studios