maybe i don't get it, but trond's example is indeed doing exctly what you want.
put
Code: Select all
IncludePath #PB_Compiler_File + "\.."
XIncludeFile "string.pbi"
the thing is just, that you have to use the trick again when you are back in previous include levels (like a main.pb) if you want to further include files relatively from there. maybe that' the problem what you meant?