gdl icon indicating copy to clipboard operation
gdl copied to clipboard

is there an equivalent to <IDL_DEFAULT> token ?

Open hivon opened this issue 3 years ago • 0 comments

In IDL, the string <IDL_DEFAULT> in the IDL_PATH stands, at startup, for the default location of the IDL routines, to which it is easy to prepend and/or append extra paths before starting IDL, for instance: IDL_PATH="+${PATH_TO_MY_ROUTINES}:<IDL_DEFAULT>:+${PATH_TO_THIRD_PARTY_ROUTINES}" ; idl

Is there anything equivalent in GDL to figure out the location of GDL routines ? I can see in src/file.cpp that the strings <IDL_DEFAULT> and <GDL_DEFAULT> are a special case, which returns nothing. The output of print,!path from within GDL will be contaminated by the predefined values of GDL_PATH and/or IDL_PATH.

Cheers

hivon avatar Aug 10 '21 14:08 hivon