Core Function InputBox

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
  
 
Success: Returns the text inputted in the text box.
 
Success: Returns the text inputted in the text box.
 +
 
Failure: Returns blank.
 
Failure: Returns blank.
  

Revision as of 01:41, 27 April 2012

InputBox( <title>, <message>, <default text> )

Contents

Description

Shows a box to input text.

Parameters

title

The title of the input box.

message

The message asking the user in the input box.

default text

The default text that appears in the text box of the input box.

Return Value

Success: Returns the text inputted in the text box.

Failure: Returns blank.

Examples

$Form = InputBox("Hello!", "What is your name?", "");
MsgBox("Your name is ".$Form."!", "Hello!");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox