InputBox Function

InputBox( prompt[,[title][,[default][,xpos,ypos]]] )

InputBox returns a String.

prompt is string that is displayed usually to ask for input type or information.

title is a string that is displayed at the top of the input dialog box.

default is a string that is displayed in the text box as the default entry.

xos and ypos and the x and y coodinates of the relative location of the input dialog box.

Example:

Sub Main

   Title$ = "Greetings"

   Prompt$ = "What is your name?"

   Default$ = ""

   X% = 200

   Y% = 200

   N$ = InputBox$(Prompt$, Title$, Default$, X%, Y%)

End Sub