stocks and forwards
#9

Quote:
Originally Posted by SpiritEvil
Посмотреть сообщение
Also you can access a public function using a timer but you can't access stocks (as far as I know). As for the speed I'm not sure which is faster.
Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Stock Functions.
Have you benchmarked that? No, you didn't. Also, stock is not an initializer, but merely a modifier. It can be used with single variables as well and can be omitted for regular functions. Something like:
pawn Код:
static const stock Float:coordinates[][3] = { /* ... */ };
is not something uncommon for me to write.
pawn Код:
FunctionName(OptinalParameters[]) {}
Also works. The compiler will give a warning if the function is not used, which may or may not be more helpful.
Reply


Messages In This Thread
stocks and forwards - by Max_Coldheart - 08.03.2012, 19:20
Re: stocks and forwards - by MP2 - 08.03.2012, 19:22
Re: stocks and forwards - by SpiritEvil - 08.03.2012, 19:25
Re: stocks and forwards - by T0pAz - 08.03.2012, 19:28
Re: stocks and forwards - by Max_Coldheart - 08.03.2012, 19:29
Re: stocks and forwards - by T0pAz - 08.03.2012, 19:35
Re: stocks and forwards - by SpiritEvil - 08.03.2012, 19:38
Re: stocks and forwards - by Max_Coldheart - 08.03.2012, 19:39
Re: stocks and forwards - by Vince - 08.03.2012, 20:30

Forum Jump:


Users browsing this thread: 5 Guest(s)