View Single Post
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 01-30-2010 , 14:36   Re: #define string in string
Reply With Quote #18

Quote:
Originally Posted by Frus View Post
PHP Code:
String:DoSomething(maxlen) {
    
decl String:buffer[maxlen];
    
FormatEx(buffer,maxlen,"blabla");

    return 
buffer;

Shouldn't that work?
Yeah I thought of that but left it out from my post

I was actually under the impression that returning arrays was bad for a reason I couldnt remember but seems I remembered wrong. So, carry on.
__________________
plop
p3tsin is offline