Navigation: thinBasic Modules > Console > Console_Write |
|
Description
Write text to the console screen.
Syntax
Console_Write ( sText [, sText2 [, ...]] )
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 |
The text to print |
Remarks
Text is written from the current cursor position and with the current attribute.
Console_Print is an alias of Console_Write
Parenthesis are optional.
Restrictions
Alias
This function can be aliases as: PRINT
See also
Console Module, Console_Read, Console_WriteLine, StdIn
Examples
Console_Write("Hello world")
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |