Navigation:  thinBasic Modules > Console >

StdOut (Console Version)

Previous pageReturn to chapter overviewNext page

 

Description

 

Write text to the console screen.

 

Syntax

 

StdOut(sText AS STRING)

 

Returns

 

Return a number

If the function succeeds, the return value is nonzero and is the number of bytes written.

If the function fails, the return value is zero.

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

Text to write into standard output





 

Remarks

 

Text is written from the current cursor position and with the current attribute.

This function is similar (alias) to Console_Write function.

 

Restrictions

 

 

See also

 

Console Module, Console_Write, StdIn

 

Examples

 

STDOUT("Hello world"' result Hello world