[comp.lang.pascal] Password Prog

anderson@herald.usask.ca (Cathy Anderson) (04/11/91)

Okay, I've noticed that someone has been talking about a password
program lately.  I had written one myself a while back which was not as
good as some the replies posted here but it works.  I have it so it
reads the password from a file and it can be changed without the code.
The problem is that I need an external file (which can be typed so you
can get an idea of the password)  Anyway, what I want to know is if
there is a way so that this password can be included in the .EXE file so
I don't have to have another file and I don't need the code to change
it.  Thanks for any help.  P.S.  I'm using Turbo Pascal 5.5/6.0

David Anderson

jjprior@athena.mit.edu (Jack Prior) (04/12/91)

In article <1991Apr10.232429.14348@herald.usask.ca> anderson@herald.usask.ca (Cathy Anderson) writes:
>Okay, I've noticed that someone has been talking about a password
>program lately.  I had written one myself a while back which was not as
>good as some the replies posted here but it works.  I have it so it
>reads the password from a file and it can be changed without the code.
>The problem is that I need an external file (which can be typed so you
>can get an idea of the password)  Anyway, what I want to know is if
>there is a way so that this password can be included in the .EXE file so
>I don't have to have another file and I don't need the code to change
>it.  Thanks for any help.  P.S.  I'm using Turbo Pascal 5.5/6.0
>
>David Anderson

The OPCLONE unit in Object Professional allows you to do this. 

Jack