Results 1 to 2 of 2

Thread: pascal program

  1. #1
    Join Date
    Oct 2003
    Location
    philippines
    Posts
    2

    Unanswered: pascal program

    Hi, I badly need help on a pascal program. I am to create a program that will accept a password. I've constructed part of the program but what I can't do is the part where I should hide the input using asterisk.

    You know how it is when we type passwords on forms, the characters we're typing is replaced with asterisk so others won't see it?, that's what I'm supposed to create...this is pascal programming....

    Thank you in advance to whoever could help me...

  2. #2
    Join Date
    Oct 2003
    Posts
    3
    You might be able to use this, I had to use this a while ago.....you input a number and it writes that amount of asterisks, I know it's not whatyour looking for but sometimes that little bit of a clue can help one all they need, right ?

    PROGRAM asterisks (INPUT,OUTPUT);

    USES WINCRT

    VAR
    number, count :integer;

    BEGIN
    count :=0;

    WRITE('enter number 1 - 60');
    READ(number);

    clrscr;

    while count < number do

    begin

    write ('*');
    count := count +1;
    end;
    end.

    I know that is nothing like what your looking for, but maybe a small part of it helps.

    Lee

    P.S - If you find out how, I wouldn't mind seeing how you did it if you have time

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •