Page 1 of 1

Loading Procedure Declares -vs- XIncludeFile .pbi

Posted: Thu Jun 27, 2024 8:24 pm
by VB6_to_PBx
Loading Procedure Declares -vs- XIncludeFile .pbi

what's the correct and best sequence method to use ??

Load Declares before XIncludeFile .pbi files

or

Load XIncludeFile .pbi files before Declares

or its does not matter which method ??

Pros or Cons ?

Re: Loading Procedure Declares -vs- XIncludeFile .pbi

Posted: Thu Jun 27, 2024 8:53 pm
by skywalk
It only matters if you use Declares.
Meaning, you don't position Procedures in order of call within your pbi.
I have only a handful of Declares but many include files, and a few ::modules.
I use xxx_lib.pbi, yyy_lib.pbi, etc. approach.