Is it possible to specify the directories in Options -> Configure relative to the directory of the interpreter instead of absolute ? For example for the directory of SALT: C:\Program Files (x86)\Dyalog\Dyalog APL 14.1 Unicode\SALT I would like to use instead something like: .\SALT so it is relative to the interpreter. Is it possible ?
Thanks in advance.
How to specify directory relative to interpreter
Re: How to specify directory relative to interpreter
You can specify the path to use by default in Options/Configure or ]settings.
This means that whenever you use a relative path to ]save or ]load this path will be used.
You can do
to save in the path mentioned there. If the path was /tmp it will be saved there.
If you want to save it under the location where Dyalog resides you can use
If you want to save it where you current directory is you can use
If you want to save it where your ws is you can use
This means that whenever you use a relative path to ]save or ]load this path will be used.
You can do
Code: Select all
]save xyz =
to save in the path mentioned there. If the path was /tmp it will be saved there.
If you want to save it under the location where Dyalog resides you can use
Code: Select all
]save xyz [dyalog]\xyz
If you want to save it where you current directory is you can use
Code: Select all
]save xyz .
If you want to save it where your ws is you can use
Code: Select all
]save xyz [ws]\zzz
Re: How to specify directory relative to interpreter
Thanks Daniel for the education. This is answering my question.