Stock and public
#5

Stocks are useful for small snippets of code (but not limited to just small snippets) and bits that don't need to be called from other scripts or by timers. People can just use no keyword for their functions, but I personally prefer just using the 'stock' keyword in case I don't use the function.
Reply


Messages In This Thread
Stock and public - by Tomer!.$ - 20.04.2012, 11:00
Re: Stock and public - by ReneG - 20.04.2012, 11:03
Re: Stock and public - by Calgon - 20.04.2012, 11:04
Re : Stock and public - by Tomer!.$ - 20.04.2012, 11:04
Re: Stock and public - by Calgon - 20.04.2012, 11:06
Re : Stock and public - by Tomer!.$ - 20.04.2012, 11:09
Re: Stock and public - by Calgon - 20.04.2012, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)