Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > InputBox Function > Example - InputBox Function
Current Help File: PC-DMIS Basic (View Core Help)
Example - InputBox Function
Sub Main ()
myTitle$ = "Greetings"
Prompt$ = "What is your name?"
Default$ = ""
X% = 200
Y% = 200
N$ = InputBox$(Prompt$, myTitle$, Default$, X%, Y%)
MsgBox "Hello " & N$ & "!"
End Sub