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.
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