Passthru variables from function 1 to function 2
#5

Quote:
Originally Posted by Jonny5
View Post
i see so your wanting something like
pawn Code:
MyFunction(message[], ...)
{
    // Some stuff like checks
    format(myString, sizeof(myString), message, ...);
    return MyOtherFunction(myString);
}
You got it.

Any way to check if an unknown parameter is a string or not?
Reply


Messages In This Thread
Passthru variables from function 1 to function 2 - by Programie - 14.04.2012, 13:55
Re: Passthru variables from function 1 to function 2 - by Jonny5 - 14.04.2012, 15:24
Re: Passthru variables from function 1 to function 2 - by Programie - 14.04.2012, 15:34
Re: Passthru variables from function 1 to function 2 - by Jonny5 - 14.04.2012, 15:44
Re: Passthru variables from function 1 to function 2 - by Programie - 14.04.2012, 15:49
Re: Passthru variables from function 1 to function 2 - by Jonny5 - 14.04.2012, 16:25
Re: Passthru variables from function 1 to function 2 - by Programie - 14.04.2012, 16:31

Forum Jump:


Users browsing this thread: 2 Guest(s)