forked from whitecatboard/Lua-RTOS-ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
The Lua prompt
Thomas E. Horner edited this page Mar 12, 2019
·
6 revisions
After executing the startup scripts, Lua RTOS runs the Lua interpreter in interactive mode, and the prompt is showed:
/ >
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