Get_login - hpgDesigns/hpg_projects GitHub Wiki
Description
Displays a message box asking the user to input a username and password and returns both of the results delimited by the '|' character.
Parameters
| Parameter | Data Type | Description |
|---|---|---|
| username | string | the default username to be in the input box |
| password | string | the default password to be in the input box |
Return Values
string: Returns the values entered into the dialog delimited by the '|' character.
Example Call
// demonstrates asking the user to input a username and password
var login;
login = get_login("John Doe", "123456"); // if the user hit ok the result would be "John Doe|123456"
NOTOC