Raised This Month: $ Target: $400
 0% 

return and return value.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-05-2006 , 23:38   Re: return and return value.
Reply With Quote #3

Calling return without specifying a value uses a value of 0. So, based on jim_yang's post, they would not function the same, as the first would return PLUGIN_CONTINUE.

Also note that a function can't return a value (ie: "return 1") and return nothing (ie: "return"). But, if you use the latter, then the compiler won't yell at you if you don't end your function with a return value.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 



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 06:52.


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