All Bundles
Console
Provides standard I/O operations
Operations
Error
Writes an error value
function : Error(b:Bool) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Bool | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(b:Byte) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Byte | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(c:Char) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
c | Char | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(i:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
i | Int | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(f:Float) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
f | Float | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(cc:Char[]) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
cc | Char[] | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : Error(s:System.String) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
s | String | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
ErrorLine
Writes an error value
function : ErrorLine(b:Bool) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Bool | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(b:Byte) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Byte | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(c:Char) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
c | Char | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(i:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
i | Int | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(f:Float) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
f | Float | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(cc:Char[]) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
cc | Char[] | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error value
function : ErrorLine(s:System.String) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
s | String | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes an error character return
function : ErrorLine() ~ ConsoleIO
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Flush
Flushes the STDOUT buffer
function : Flush() ~ ConsoleIO
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
FlushError
Flushes the STDERR buffer
function : FlushError() ~ ConsoleIO
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Print
Writes a value
function : Print(b:Bool) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Bool | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(b:Byte) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Byte | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(c:Char) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
c | Char | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(i:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
i | Int | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(f:Float) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
f | Float | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(cc:Char[]) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
cc | Char[] | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : Print(s:System.String) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
s | String | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
PrintLine
Writes a value
function : PrintLine(b:Bool) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Bool | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(b:Byte) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
b | Byte | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(c:Char) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
c | Char | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(i:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
i | Int | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(f:Float) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
f | Float | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(cc:Char[]) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
cc | Char[] | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Writes a value
function : PrintLine(s:System.String) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
s | String | value |
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
Prints a character return
function : PrintLine() ~ ConsoleIO
Return
Type | Description |
---|
ConsoleIO | I/O console instance |
ReadBuffer
Reads bytes from STDIN
function : ReadBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Int
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to read |
buffer | Byte[] | input buffer |
Return
Type | Description |
---|
Int | number of byte read |
Read characters from STDIN
function : ReadBuffer(offset:Int, num:Int, buffer:Char[]) ~ Int
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to read |
buffer | Char[] | input buffer |
Return
Type | Description |
---|
Int | number of byte read |
ReadLine
Reads a string from STDIN
function : ReadLine() ~ System.String
Return
Type | Description |
---|
String | string read |
SetFill
Sets the output fill
function : SetFill(fill:Char) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
fill | Char | output fill |
SetFloatFormat
Set floating point display format.
function : SetFloatFormat(format:Number->Format) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
format | Number->Format | integer format |
SetFloatPrecision
Set floating point display precision.
function : SetFloatPrecision(precision:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
precision | Int | decimal precision |
SetIntFormat
Set integer display format.
function : SetIntFormat(format:Number->Format) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
format | Number->Format | integer format |
SetWidth
Sets the output width
function : SetWidth(width:Int) ~ ConsoleIO
Parameters
Name | Type | Description |
---|
width | Int | output width |
WriteBuffer
Write a byte buffer to STDOUT
function : WriteBuffer(buffer:Byte[]) ~ Int
Parameters
Name | Type | Description |
---|
buffer | Byte[] | input buffer |
Return
Type | Description |
---|
Int | true if successful, false otherwise |
Write a byte buffer to STDOUT
function : WriteBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Int
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Byte[] | input buffer |
Return
Type | Description |
---|
Int | number of byte written |
Write a character buffer to STDOUT
function : WriteBuffer(offset:Int, num:Int, buffer:Char[]) ~ Int
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Char[] | input buffer |
Return
Type | Description |
---|
Int | number of byte written |
WriteErrorBuffer
Write a byte buffer to STDERR
function : WriteErrorBuffer(offset:Int, num:Int, buffer:Byte[]) ~ Bool
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Byte[] | input buffer |
Return
Type | Description |
---|
Bool | true if successful, false otherwise |
Write a character buffer to STDERR
function : WriteErrorBuffer(offset:Int, num:Int, buffer:Char[]) ~ Bool
Parameters
Name | Type | Description |
---|
offset | Int | destination buffer offset |
num | Int | number of values to write |
buffer | Char[] | input buffer |
Return
Type | Description |
---|
Bool | true if successful, false otherwise |
WriteString
Writes a character string
function : WriteString(str:System.String) ~ Int
Parameters
Name | Type | Description |
---|
str | String | string to be written |
Write a byte character to STDOUT
function : WriteString(buffer:Char[]) ~ Int
Parameters
Name | Type | Description |
---|
buffer | Char[] | input buffer |
Return
Type | Description |
---|
Int | true if successful, false otherwise |