echo multimethod
Methods
- echo(s:Str)
Print given string and a newline to stdout. Returns
UnspecifiedExample
echo("blah") # Output: blah
- echo(fd:Int, s:Str)
Print given string and a newline to a file referenced by descriptor. Returns
UnspecifiedExample
echo(2, "blah") # Output on stderr: blah
- echo(x:Any) Source: stdlib.ngs:2095
Echo non-string. Converts x to string first, using Str() Parameters
x Anything but Str Returns
nullExample
echo(1)
- echo(t:Table) Source: autoload/Table.ngs:123
Displays a table. Implemented only for tty output (or output_format=text configuration)
- echo(t:Table) Source: autoload/Table.ngs:198
Output (echo) CSV table with cells that contain arrays converted to columns. TODO: data escaping.