Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>pass_chk()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PASS_CHK()

    PASS_CHK() is a generic routine to be used whenever the user must
    enter a password to continue.  Warning: this does not conform to any
    official specifications for encryption, so do not even consider
    using it for highly sensitive information.  The syntax is:

    PASS_CHK(<password>, [<row>])

    Required Parameter

    <password> is a character expression representing the password.

    Optional Parameter

    <row> is an integer numeric indicating the row number at which you
    want the "Enter password..." message to appear.

    Return Value

    PASS_CHK() returns a logical value: True (.T.) if the user enters
    the correct password, or False (.F.) if they do not.

    PASS_CHK() compares the user's entry against the password you passed
    to it.  The function is case-insensitive.

    Sample usage

    IF pass_chk('MOOLA')
       DO payroll       
    ENDIF               

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson