Many many arguments in function..
#2

You mean you want to make user defined functions with arguments?

Код:
forward SomeFunction(string1[],string2[]);
public SomeFunction(string1[],string2[])
{
        printf("%s",string1);
        printf("%s",string2);
}
When you call it;
Код:
new stri1[128],stri2[128];
format(stri1,128,"Bla");
format(stri2,128,"Bla2");
SomeFunction(str1,str2);
Reply


Messages In This Thread
Many many arguments in function.. - by Dreftas - 26.07.2010, 16:30
Re: Many many arguments in function.. - by DJDhan - 26.07.2010, 16:36
Re: Many many arguments in function.. - by Dreftas - 27.07.2010, 09:20
Re: Many many arguments in function.. - by RyDeR` - 27.07.2010, 09:25
Re: Many many arguments in function.. - by Dreftas - 27.07.2010, 09:30
Re: Many many arguments in function.. - by Bardokas - 27.07.2010, 10:22

Forum Jump:


Users browsing this thread: 1 Guest(s)