enhancing prompt() functions
- Posted by euphoric (admin) Sep 15, 2011
- 1085 views
I would like to enhance the prompt_string() function to allow the user to supply a default or initial string to be used.
For example:
uname = "Steve Jones" -- could be retrieved from a database, prefs file, or whatever uname = prompt_string( "Enter username: ", uname )
Or is there another/a better way to go about this?