flexsim_read_console
Read FlexSim console output to diagnose compiler errors, runtime exceptions, and print messages from compiler, system, output, or script consoles, returning only recent trailing characters.
Instructions
Read FlexSim's consoles (window backend): compile errors, runtime exceptions and prints.
Args:
console: compiler, system, output or script (the editor text). Default compiler.
last_chars: how many trailing characters to return (default 3000).
clear: not supported by FlexSim from here; use flexsim_execute_script(`clearconsole();`) for the
output console.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |