Core Function InputBox

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> InputBox( <title>, <message>, <default text> ) </pre> === Description === Shows a box to input text. === Parameters === ==== title ==== The title of the input box. ==...")
 
Line 32: Line 32:
 
MsgBox("Your name is ".$Form."!", "Hello!");
 
MsgBox("Your name is ".$Form."!", "Hello!");
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Core Function]]

Revision as of 01:08, 27 November 2011

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