Lasso Soft Inc. > Home

[ file_stdout ]

Method

The [file_stdout] method takes no parameters and returns a [file] object that can interact with the standard out I/O stream.

  • Syntax
var(out) = file_stdout
Examples
  • Intermediate

Implement [stdout(p0::string)] method

Below is the code for the [stdout] method. It takes one parameter and outputs it to the standard out I/O stream.

Code

define stdout(s::string) => {
    file_stdout->writeBytes(#s->asBytes)
}

stdout('Rumbling Rhino!')

Result

Rumbling Rhino!

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft