echo
echo
Function
Convert all parameters to strings, concatenate them with spaces and output them to the console.
Syntax
echo(value1, value2, ...) echo value
Parameters
| Parameters | Type | Required | Default value | Description |
|---|---|---|---|---|
| valueN | Any | No | None | The value to output. |
Return value
| Type | Description |
|---|---|
| Empty | Returns Empty after output is complete. |
Example
echo('BT', 1) echo 'BT' // Output: BT 1 // Output: BT
Notes
- Fixed inserting a space between multiple parameters.
- The bracketless syntax only supports one expression parameter; please use the function form for multiple parameters.
- When
emptyis actively output, it will be displayed asemptyto facilitate troubleshooting of missing values.