-
-
Notifications
You must be signed in to change notification settings - Fork 18
get_string
CryoEagle edited this page Jan 6, 2019
·
1 revision
Open window with input, value can be saved in variable
get_string(str, caption)
Argument | Description |
---|---|
string str |
Description about input |
string caption |
Caption of window |
Returns: string
Show window with input, description about input and caption of window then you can save input value to local variable and use that later, so user can write there his username and can see it later.
var value = get_string("Write me a text please", "Your text");
show_message(value);
The above code will open window with caption „Your text“ and description „Write me a text please“ when user will write into input and press button then will be opened window with text that were saved into var
value.
Back to Debug