In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
  
Home page Home page Home page Home page
Pixel
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel
Pixel

Reader's Clinic - Prompting for Passwords

Tony Marler of Prosolve (England) asks "Can message can be called for input (as with R and RC) but not display output on screen? I need this to prompt for passwords."

Those in possession of the utility diskette which came with the August/September issue will be aware that this can be answered by reference to the routine GET.PASSWORD included in the program file which uses a system routine called NOECHO.MSG (this routine prompts for input without displaying any information on screen). Alternatively, using the I modifier on the R code with MSG will cause INPUT to be used in place of SCRIBE. Thus echo could be turned off, MSG called, the input prompted for and then echo reenabled ie


0001       DECLARE SUBROUTINE MSG
0002       PW = ""
0003       ECHO OFF
0004       MSG("P/word","RIC", PW,"")
0005       ECHO OFF

(Volume 1, Issue 6, Page 3)
Pixel
Pixel Footer R1 C1 Pixel
Pixel
Pixel
Pixel