[SOLVED] How to get the source file .pb directory ?
Posted: Sun Aug 18, 2019 4:57 pm
Hi everybody
1º source code is loaded from some directory in disk
2º Is there a way of getting the source file directory with code when you run the program with F5 ?
The goal is to do this automaticly and then add directories to it:
xincludefile instruction already does this. It knows that pbi directory is one level depth from source code:
1º source code is loaded from some directory in disk
2º Is there a way of getting the source file directory with code when you run the program with F5 ?
The goal is to do this automaticly and then add directories to it:
Code: Select all
getsourcecodedir()+"pbi/test.pbi"Code: Select all
xincludefile("pbi/test.pbi")