![]() |
![]() |
|
Guest
Posts: n/a
|
Hey Applesoft tinkerer, do you think INPUT and GET are pretty weak? I do too, so I wrote NuInput. It's a powerful and easy to use replacement for those anemic commands, providing lots of control and flexibility over what can be entered at each prompt.
If you already checked out NuInput 1.0, have a look at the new version: it uses 33% less memory, is simpler to use, has more features, and is much better documented. Source code is also available. NuInput 2.0 offers the following improvements over INPUT: accepts comma, colon, and double-quote accepts entry up to 255 characters neat cleanup of wrapped text to right of cursor CTRL-C breaks immediately and with cursor at any position DELETE deletes if at end of line (backspaces otherwise) (works on real IIe/IIc/IIgs, but may not on all emulators) NuInput also offers the following selectable features for each prompt: restrict enterable keys to a specific list provide a default entry maximum entry length (up to 255) specific control keys (including ESC) to submit the entry prevent break on control-C one-key entry (like Applesoft GET) convert lowercase to uppercase backspace key deletes ESC clears typed text return key disabled for entry return key refuses blank entry key list is case sensitive You can download NuInput 2.0 at http://appleii.ivanx.com/nuinput/ or email me if you have any questions. Enjoy! |
|
![]() |
![]() |
|
Guest
Posts: n/a
|
It seems to be really powerful, congratulations.
Did you compare yours with Lou Infeld's user input routine, dated 1985? It is available at http://www.brutaldeluxe.fr/documenta...eloppeurs.html and more specifically in the PDF at http://www.brutaldeluxe.fr/products/..._userinput.pdf Antoine |
|
| Copyright ©2007-2008 MacShock.com. |
Powered by vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd. |