Page 1 of 1
pbi include file question
Posted: Wed Jun 11, 2003 11:31 pm
by cecilcheah
Hi
When i include a pbi file in a pb file, and when i make an exe of my application, do i need to include the pbi file for distribution? Or is it already benn compiled in the exe file together?
Can i name the pbi file anything i want? or it has to be pbi?
Cecil
Posted: Wed Jun 11, 2003 11:42 pm
by freak
You can name it however you want.
The compiler compiles the Included files, just as if the code inside these
files would be in the main source.
So you don't have to distribute them.
Timo
Posted: Wed Jun 11, 2003 11:43 pm
by Saboteur
The pbi is compiled too. You can use any name, for example, you can include anothers .pb
Bye...

Re: pbi include file question
Posted: Wed Jun 11, 2003 11:49 pm
by traumatic
cecilcheah wrote:
When i include a pbi file in a pb file, and when i make an exe of my application, do i need to include the pbi file for distribution? Or is it already benn compiled in the exe file together?
to include a sourcefile means that it's the same as if you were typing all the code right where you included it. to include files just makes life easier.
Can i name the pbi file anything i want? or it has to be pbi?
yes, you can name it the way you want. i guess ".pbi" stands for PB-include.
I call them ".pbh" in memories of c header includefiles.
Re: pbi include file question
Posted: Wed Jun 11, 2003 11:51 pm
by traumatic
Ok, I'll quit for today - I'm always the last
