Raised This Month: $ Target: $400
 0% 

A little explanation plz, and maby a short example of use :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-12-2006 , 19:40  
Reply With Quote #4

No.

When you use return it will exit the whole function.
Its just if you use return PLUGIN_HANDLED in register_event() no other plugin below yours will be able to use the event but if you use return PLUGIN_CONTINUE it will still allow all other plugins to use the event.

To exit an if statement early it is 'exit' . To exit a switch() early it is 'break' to exit a loop, could be a for loop or while loop, you use 'exit'. To stop the rest of the code for that iteration of the loop you use 'continue'.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



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 05:14.


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