Re: modified prompt_functions

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

Heya, mailing-list people!  Good to see Euphoria's still growing and developing.
 Can't wait to try out the new version...

This is somethin' I wrote to input a string, which can be used as either a
     prompt-style function, or as part of a simple SLE.  I suppose it could be
     modified to guarantee a valid numerical entry, but I haven't done that yet. 
     Works only in text modes.
Handles the following keys:
ESC, Backspace, Enter, Left and Right Arrow, Insert, Delete, Home, and End.
Can be placed at specific coordinates.
Can be limited in visual size.  (You're screen may be 80 characters wide, but
you only want the input field to be 40 characters wide.)
Can be limited in input size (or unlimited).
Can be masked with the character of your choice for passwords.
If the text length is > the visible length, uses horizontal scrolling so as to
stay within the visible boundaries.

Could probably use some tweakin', but I smashed all the bugs I've noticed...

Okay, it uses another include of mine...I'll upload it to the web and post a
link to save e-mail space.

http://members.aol.com/falkon1313/programming/inptstr.zip  (6029 bytes)

Hope somebody gets some use out of that.
Falkon

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

Search



Quick Links

User menu

Not signed in.

Misc Menu