Skip to content
Jaume Olivé Petrus edited this page Jun 2, 2017 · 6 revisions

After executing the startup scripts, Lua RTOS show the Lua prompt:

/ > 

The Lua prompt is formed by the current directory, followed by the "/" character. For example, if the current directory is the /examples folder the prompt is:

/examples > 

When the prompt is available Lua interprets each line that you type, for example:

/ > 2 + 2
4
/ > print("Hello")
Hello
Clone this wiki locally