In my company we use a lot of files out of something like a library, which is on a network drive. The project files are on a different location. We cannot use relative paths for including files, because if you open a project file the working directory is different than when opening a library file. Additionally there are library files, which open other library files. As a path is simply an ASCII string, why not implement an include instruction accepting a string variable. In this way I can "calculate" the paths. This would also allow to move the project files or the library to whatever location needed, by just changing one string variable. Furthermore this would also allow to check if there are files included more than once similar to for example programming languages like C.
Implementation of such a feature should not be a big effort. Currently the include command receives a constant, just change this to a variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.