Letting an optional parameter die?
I wish to call this function with or without a second parameter. With it, I care about setting its value and would be able to test the value of the message from an outside function. Without it, I don't care and would simply like the return value (which will be returned in either case and is an integer, respType):
PHP Code:
|
Re: Letting an optional parameter die?
If you make it a native with style 0, you can see how many parameters was sent and react to that.
Code:
Code:
On a side note, I saw your latest post and started making an API for RESP. But if you do it instead, that's probably for the best. Add me to Steam if you need someone to bounce ideas with. http://steamcommunity.com/id/IIlllIllIlll |
| All times are GMT -4. The time now is 18:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.