Printf(string)
Description
Section titled “Description”The Printf Lua function prints a string in the Command Line History and System Monitor.
Command Line History
Section titled “Command Line History”The Command Line History window shows feedback from the system based in the user input.
Learn more in the Command Line History topic.
System Monitor
Section titled “System Monitor”The System Monitor window shows what is happening at the station. This includes feedback on user commands. It is a log of the different things happening in the background. It also shows warnings, errors, and changes to the system.
Learn more in the System Monitor topic.
Argument
Section titled “Argument”- String:
The string text to be printed to the Command Line History.
Return
Section titled “Return”This function does not return anything.
Example
Section titled “Example”This example prints “Hello World!” in the Command Line History:
| Copy CodeLua |
| ``` |
| return function() |
Printf("Hello World!")end