User Tools

Site Tools


prop_datapath.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Runtime VIEW and FILE Properties >====== PROP:DataPath ====== Previous pageReturn to chapter overviewNext page

A read/write SYSTEM property that can be used to set the default directory for data files.

 

All files with unqualified file names (e.g., those files with no NAME attribute or a NAME with only a relative path) will be looked for in the directory specified by SYSTEM{PROP:DataPath}.

SYSTEM{PROP:DataPath} defaults to the directory the application starts in. This will save developers from having to do startup code like the following:

GETINI(datadirectory)

file1name = datadirectory & 'file1'

file2name = datadirectory & 'file2'

file3name = datadirectory & 'file3'

prop_datapath.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1