Navigation:  thinBasic language > Modules > Core > General >

InputBox$

Previous pageReturn to chapter overviewNext page

 

Description

 

Displays a dialog box containing a prompt.  Waits for the user to enter text, and accept or cancel the dialog.  Returns the contents of the text box.

 

Syntax

 

s = InputBox$(Prompt [, Title [, DefaultText ] ] )

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

Prompt

String

No

 

Title

String

Yes

 

DefaultText

String

Yes

 

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

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