IConsole Methods |
The IConsole type exposes the following members.
| Name | Description | |
|---|---|---|
| Clear | Clear the console window from any text. | |
| GetScriptFolder | Return the folder of this script. | |
| RunScript(String) | Load,compile and run a script by calling its main function with the provided arguments Run a script without extra arguments. Errors are outputted to the console window. | |
| RunScript(String, String) | Load,compile and run a script by calling its main function with the provided arguments Errors are outputed to the console window. The function will return when the script has finished execution. | |
| Write | Write text to the console window | |
| WriteLine | Write a line of text to the console window |