[<<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.ClipX.Net --- NG 2 HTML conversion by Dave Pearson