Raised This Month: $ Target: $400
 0% 

Function order in my source code? How should it be?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-22-2006 , 09:55  
Reply With Quote #2

I don't think it does. When you include a header file though everything in it is put into the plugin, with the exception of stocks. If a stock is called somewhere in the plugin, then it is included, otherwise it is not.

From what I can tell, when the compiler sees a function, it'll basically seek through the script until it sees a definition for it. I'm not quite sure, but that's based on the fact that if you add an extra opening bracket anywhere, functions after that appear as undefined.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode