06-10-2025, 11:01 AM
@kernelpanic
The Inform-pe has chained .BI files so when you compile (or compile and run a project ) you need all the .BI files pack.
They are the same needed when I want shared a my app and the user want compile it on his machine without installing Inform-pe on it.
I dunno how huge or useful is the use of a generic path to add to the absolute path used into .BI files for example
in the project file there is for default these $include:
and in this last there are
a way to mantain this hierarchy and to make flexible the path of Inform is to add at the start of each relative path an absolute path taken from a file dialog box SetInformLibraryPath ...and SHARED it as a Global shared variable in the main module
for example in Inform.BI
and in InformCommon.BI
The Inform-pe has chained .BI files so when you compile (or compile and run a project ) you need all the .BI files pack.
They are the same needed when I want shared a my app and the user want compile it on his machine without installing Inform-pe on it.
I dunno how huge or useful is the use of a generic path to add to the absolute path used into .BI files for example
in the project file there is for default these $include:
Code: (Select All)
': External modules: ---------------------------------------------------------------
'$Include:'InForm/InForm.bi'
'$Include:'InForm/xp.uitheme'
'$Include:'Myproject.frm'
while in Inform.Bi there is Code: (Select All)
'$include:'InformCommon.bi' that is in the same folder of Inform.BI so IDE can find it easilyand in this last there are
Code: (Select All)
'$Include:'InFormVersion.bi'
'$Include:'extensions/HashTable.bi'
the first is in the same folder of InformCommon.bi and the second in the relative path "extensions/" starting from the folder of InformCommon.bia way to mantain this hierarchy and to make flexible the path of Inform is to add at the start of each relative path an absolute path taken from a file dialog box SetInformLibraryPath ...and SHARED it as a Global shared variable in the main module
for example in Inform.BI
Code: (Select All)
': External modules: ---------------------------------------------------------------
'$Include: AbsolutePath$ + 'InForm/InForm.bi'
'$Include: AbsolutePath$ + 'InForm/xp.uitheme'
'$Include: AbsolutePath$ + 'Myproject.frm'
and in InformCommon.BI
Code: (Select All)
'$Include: AbsolutePath$ + 'InFormVersion.bi'
'$Include: AbsolutePath$ + 'extensions/HashTable.bi'

