How is this argument a mismatch?
I'm trying to run a formatex function in a plugin that I'm making, but it gives me some error that tells me
Code:
error 035: argument type mismatch (argument 1)PHP Code:
Code:
|
Re: How is this argument a mismatch?
I don't get any errors on this. Paste whole code or at least whole function.
|
Re: How is this argument a mismatch?
PHP Code:
|
Re: How is this argument a mismatch?
It's because of sz_Reasons. It should be int and you probably declared it as an array. Maybe you want:
PHP Code:
|
Re: How is this argument a mismatch?
Compiled perfectly. Thanks for the help.
Quick question: I had previously done PHP Code:
PHP Code:
|
Re: How is this argument a mismatch?
It's correct.
|
Re: How is this argument a mismatch?
Quote:
|
Re: How is this argument a mismatch?
I would use:
PHP Code:
|
Re: How is this argument a mismatch?
Quote:
|
Re: How is this argument a mismatch?
Yeah, it's not a huge difference but when people (who didn't code it) add or remove things they won't have to worry about needing to change anything else.
|
| All times are GMT -4. The time now is 07:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.