enhancing prompt() functions

new topic     » topic index » view thread      » older message » newer message

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?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu