| View previous topic :: View next topic |
| Author |
Message |
DranDane
Joined: 26 Jun 2007 Posts: 54
|
Posted: Tue Feb 26, 2008 8:07 pm Post subject: #include section at the end? |
|
|
Hi,
Why most people are putting they #include section at the end of their scripts? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Feb 26, 2008 8:11 pm Post subject: |
|
|
so it will not interfere with the "Auto-execute" section. Most #includes are just function definitions, but if they contain hotkeys or subroutines, they will block the autoexecute section from running properly. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5887
|
Posted: Wed Feb 27, 2008 9:33 am Post subject: Re: #include section at the end? |
|
|
| DranDane wrote: | | Why most people are putting they #include section at the end of their scripts? |
It is convenient to know where to look for dependencies.
PhiLho includes his wrappers on the top, because the wrappers would contain Contants that need to be initialised from auto-execute section.
 |
|
| Back to top |
|
 |
|