Nested IncludePath and opening nested (X)IncludeFile
Posted: Thu Dec 15, 2011 3:03 pm
Hi there!
1.) IncludeFile and XIncludeFile should always be relative to the File's Path, they are called from, not from the main compiler-File.
Example showing the problem:
A possibility to nest IncludePath would be nice too, perhaps using EndIncludePath to finish this (PB-steady syntax)
2.)
DoubleClicking on Test.pb gets me to the file (it's opened in the ide)
DoubleClicking on Frame1/Inc.pb doesn't do so, since it's in a subfolder defined by IncludePath. Shouldn't be such a big problem to get this working, should it?
Greetings
Franky
1.) IncludeFile and XIncludeFile should always be relative to the File's Path, they are called from, not from the main compiler-File.
Example showing the problem:
Code: Select all
;File Main.pb:
IncludePath "MyFrame/"
IncludeFile "Frame1/Inc.pb"
IncludePath ""
Code: Select all
;File MyFrame/Frame1/Inc1.pb:
IncludeFile "var.pb" ;How should var.pb know, where it comes from?
2.)
Code: Select all
IncludeFile "Test.pb"
IncludePath "MyFrame/"
IncludeFile "Frame1/Inc.pb"
IncludePath ""
DoubleClicking on Frame1/Inc.pb doesn't do so, since it's in a subfolder defined by IncludePath. Shouldn't be such a big problem to get this working, should it?
Greetings
Franky