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

Syntax:     EXENAME()

Returns:    A character string.
            The name  and path of the active EXE program.

Usage:      This function can be used to determine whether the name of
            the Clipper executable has been changed.  This is especially
            useful in overlayed systems, where overlay calls relate to the
            executable name, and will crash if changed.

Notes:      With the TOKEN() function, it is relatively easy to determine
            the name of the program within the path.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   origpath = "C:\DATE\ADDRESS.EXE"

            IF EXENAME() <> origpath
               ? "Program or directory has been changed."
               QUIT
            ENDIF



See Also: TOKEN()

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