Announcement

Collapse
No announcement yet.

masking entry

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • masking entry

    Can anyone tell me how to mask an entry simular to the
    password mask where no one can see what has been typed?
    Or more clearly how to show a star or asterisk for each letter
    typed instead of the actual letters typed?
    An answer will be greatly appreciated.
    Lloyd,


    ------------------

  • #2
    Most quality entry routines offer password mode. Take a look at some of the libraries in the FILES site: www.powerbasic.com/files/pub/pbdos


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      what about

      do until a$=chr$(13)
      do
      a$=inkey$
      loop until a$<>""
      if a$<>chr$(13) then
      print "*";
      b$=b$+a$ ' this will hold the keys pressed
      end if
      loop

      print b$


      ------------------

      Comment

      Working...
      X