If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > pascal program

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-03, 00:46
fivz fivz is offline
Registered User
 
Join Date: Oct 2003
Location: philippines
Posts: 2
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...
Reply With Quote
  #2 (permalink)  
Old 10-14-03, 02:39
Ironfxme Ironfxme is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On