Hi,
I'm having a bit of trouble with this code:
Code:
public func1() {
new var1[32];
var1 = func2();
}
public func2() {
new var2[32];
if(something) var2 = "0";
else var2 = "<here come 32 chars>";
return var2;
}
I'm getting "argument type mismatch" on var1 = func2();, I also tried replacing this line with:
strcat(var1,func2(),31);
same result.
Is this not allowed?