SystemOutput

Writes the given object to the output stream

Method Signature

SystemOutput(obj=[any], addNewLine=[boolean], doErrorStream=[boolean])

Arguments

Argument
Type
Required
Description
Default

obj

any

true

The object to write to the output stream

addNewLine

boolean

true

If true, a new line will be added to the output stream

false

doErrorStream

boolean

false

If true, the object will be written to the error stream

false

Examples

Write a string to the output stream "Hello World"

Run Example

systemOutput( "Hello World" );

Write an array to the output stream

Run Example

systemOutput( [ 
	"foo",
	"bar"
] );

Write a struct to the output stream

systemOutput({ "myKey", "myValue" });

Last updated

Was this helpful?