www.icetips.com  Icetips Utilities Documentation 9/18/2018    

Core Class: ProgPath - CString(10241)

Previous  Top  Next  


This is a 10K CString that contains the path to the program.

 

ProgPath                   CString(10241)

 

For example if your program is located in 'C:\Clarion\Apps\MyApps\MyApp.exe', then ProgPath will contain "C:\Clarion\Apps\MyApps"

 

Note that the path does NOT have a trailing backslash.  To fix that use the FixPath method:

 

Example:

 

ITC ITCoreClass

FP  CSTRING(2049)

CODE

FP = ITC.FixPath(ITC.ProgPath))

MESSAGE('Program Path "' & FP)

 

See also:

Construct

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/progpath_core.htm