Dir$

dir$ returns the path of the directory where the Sage X3 runtime engine is installed.

Syntax

 dir$

Example

 Local Char INSTALLDIR(200)INSTALLDIR=dir$
`dir$` is the directory, located on the process server, where the Sage X3 engine runtime is installed.The result type is [Char](../4gl/char.md).

Associated errors

Error codeDescription
29The function cannot be executed (no open channels available).

See also

filpath, adxdir, System.