Raised This Month: $ Target: $400
 0% 

static functions?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
diamond-optic
Veteran Member
Join Date: May 2005
Old 01-28-2009 , 17:47   static functions?
Reply With Quote #1

im a little curious about this as ive seen them used every now and then..

what the difference in using static instead of public, or even in comparison to stock or when theres just a function name with nothing before it...

public func_whatever()
static func_whatever()
stock func_whatever()
func_whatever()

ive never really understood the 'true' difference between them and id like to get an educated response onto benefits of one over the other and what situations specific ones are best used for..
__________________
diamond-optic is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode