SourcePoint Intel Help

Table of Contents

projectpath

Display the project file path.

Syntax

projectpath

Discussion

The projectpath control variable contains a string that is the full path to the directory where the SourcePoint project file is located. ย The string is terminated with a final slash/backslash path delimiter. This variable can be used to avoid hard-coded file paths by referencing them relative to the SourcePoint project file directory.

Example

Assume the current project file is C:\Program Files\Arium\SourcePoint\sp.prj.

Command input:

define nstring mymac = projectpath + "mac\\big.mac";
mymac

Result:

"C:\Program Files\Arium\SourcePoint\mac\big.mac"

Related Topics: