-
Notifications
You must be signed in to change notification settings - Fork 234
The Lua prompt
Jaume Olivé Petrus edited this page Jun 2, 2017
·
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