Raised This Month: $ Target: $400
 0% 

argument type mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xfirestorm
Member
Join Date: Mar 2012
Old 02-25-2013 , 08:18   argument type mismatch
Reply With Quote #1

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?
xfirestorm 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 21:43.


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