ADXDIR

Contents


adxdir contains the path of the directory where Adonix was installed.

 

Class, Type, and Dimension

[S]adxdir(254) Char

 

Examples

   # Test for the existence of the ENGLISH language file
    If filinfo(adxdir+"/lan/ENGLISH", 0) < 0
       Errbox "The ENGLISH message file does not exist!"
    Endif

 

Description and Comments

The adxdir Adonix system variable contains the name of the root directory where Adonix was installed on the machine that launches the session, therefore, before the "client" machine. It allows you to access the files that depend on Adonix.

 

Remarks

There is an ADXDIR environment variable with the same value in the environment. [S]adxdir is equivalent to getenv$("ADXDIR").

You will use the filpath function to determine Adonix's installation path on any server.

 

For example:

[V]PATH([L]M) = filpath("!","","","",adxmac([L]M))
[S]
adxdir corresponds to the "0" volume path on the local machine.
[S]
adxdir is only accessible in read mode.

 

Associated Errors

Error

Description

EREADONLY (62)

Attempt to modify the variable

 

Associated Keywords

DIR$ - GETENV$  - FILPATH


CONTENTS


Copyright © Sage 1999 - 2007