Navigation:  thinBasic Modules > Console >

Console_ReadLine

Previous pageReturn to chapter overviewNext page

 

Description

 

Reads a console input until the return key is pressed.

 

Syntax

 

Console_ReadLine() AS STRING

 

Returns

 

Return a string

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

This function is similar to Console_Read().

 

Restrictions

 

The max input size is 16 Kb

 

See also

 

Console Module, Console_Read, Console_Write

 

Examples

 

Console_WriteLine("Read from StdIn:", Console_ReadLine())

 

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