Passing any type of variable.
#7

pawn Код:
ini_write(0, .f=0.10111);
ini_write(0, .i=11222);
ini_write(0, .s="noooob");
How is this easier than

pawn Код:
ini_writeFloat(0, 0.10111);
ini_writeInt(0, 11222);
ini_writeString(0, "noooob");
?

You are specifying the argument type in both places anyway
Reply


Messages In This Thread
Passing any type of variable. - by CaHbKo - 12.06.2011, 16:49
Re: Passing any type of variable. - by Cyanide - 12.06.2011, 18:14
Re: Passing any type of variable. - by CaHbKo - 12.06.2011, 19:22
Re: Passing any type of variable. - by 0x5A656578 - 12.06.2011, 20:40
Re: Passing any type of variable. - by CaHbKo - 13.06.2011, 07:42
Re: Passing any type of variable. - by CaHbKo - 13.06.2011, 08:33
Re: Passing any type of variable. - by 0x5A656578 - 21.06.2011, 18:50

Forum Jump:


Users browsing this thread: 4 Guest(s)