-
-
Notifications
You must be signed in to change notification settings - Fork 5
TextInput
Anthony Headley edited this page Apr 19, 2020
·
2 revisions
Displays a text input field for the user to enter a valie, takes optional title and default values
Name | Description | Optional |
---|---|---|
string | number :Title | The title for the input window | ✔ |
string | number :Defailt | The default text | ✔ |
nil: if cancled
string: value entered
local result = TextInput("Enter a Prime Number", 41) -- displays menu with title and the value of 41 entered
Echo(type(result) .. " " .. result) -- returns a string of the result