09.06.2015, 09:18
Your errors in the first post make more sense. Except for the 'name' variable since it doesn't even get called.
The inconsistent types are:
variable 'string': which is an array of chars
variable 'false': which is a boolean
So you should either return true on the string, or return an empty string on the false.
Since you are using it in an 'if'-statement, I'd recommend replacing the 'string' return with a 'true' boolean.
The 'define name' and 'new name' don't make sense in this case and does not address the real issue.
The inconsistent types are:
variable 'string': which is an array of chars
variable 'false': which is a boolean
So you should either return true on the string, or return an empty string on the false.
Since you are using it in an 'if'-statement, I'd recommend replacing the 'string' return with a 'true' boolean.
The 'define name' and 'new name' don't make sense in this case and does not address the real issue.