Difference with "static" and "new"
#6

Yes, it can be used inside a function and it's called static local. It also "holds" its old value.

I'm not aware of whether it reduces the size of the .amx or not.
Reply


Messages In This Thread
Difference with "static" and "new" - by Luis- - 05.03.2014, 16:38
Re: Difference with "static" and "new" - by Konstantinos - 05.03.2014, 16:53
Re: Difference with "static" and "new" - by Kyle - 05.03.2014, 16:57
Re: Difference with "static" and "new" - by newbienoob - 05.03.2014, 17:00
Re: Difference with "static" and "new" - by Luis- - 05.03.2014, 17:18
Re: Difference with "static" and "new" - by Konstantinos - 05.03.2014, 17:23
Re: Difference with "static" and "new" - by AndreT - 05.03.2014, 17:32
Re: Difference with "static" and "new" - by Djole1337 - 05.03.2014, 17:44

Forum Jump:


Users browsing this thread: 4 Guest(s)