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

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com