4M4Life.com

OVERLOAD

Offline bloo-apple

  • *
  • 1432
  • 5
  • You Just Made Me Happy!
    • Bloo-Apple
OVERLOAD
« on: April 30, 2010, 03:50:13 PM »


What do you guys think of overload functions?  A little risky logically?   

Offline Wesker

  • *
  • 7758
  • 8
  • Veronica Hates Me
    • Marv The Zombie
Re: OVERLOAD
« Reply #1 on: April 30, 2010, 06:25:25 PM »
[refle]http://www.dvdonline.com.au/images/high_risk.JPG[/refle]
Awesome Points: 585


http://wesker.flashcartoons.org

-------------------------------------------
********(¨`·.·´¨).I.(¨`·.·´¨)********
****(`·.·´`·. ¸.·;Love`·.¸.·´`·.·´)*****
*****`·.¸.·´*Minor Threat*`·¸.´*****
*******`·.¸(¨`Forever·´¨)..·´*******
**************`·.¸.·´************

Offline tkoold

  • *
  • 11928
  • 69
  • The Kool Dude
    • Ranma 1/2 Fans
Re: OVERLOAD
« Reply #2 on: April 30, 2010, 08:06:24 PM »
not sure completly what it is looks like a waste of resorces

Offline bloo-apple

  • *
  • 1432
  • 5
  • You Just Made Me Happy!
    • Bloo-Apple
Re: OVERLOAD
« Reply #3 on: April 30, 2010, 10:09:43 PM »
not sure completly what it is looks like a waste of resorces

An overload function is a code with the same name of any function.  Something like this..

FUNCTION myFunction ( VAR );
FUNCTION myFunction ( VAR, VAR, VAR );

However when it is executed the function will only execute the code with the same amount of parameters.

Is it a good idea to do this?  I think if the function does a very similar task than it is OK to use this, but I am not even sure about that.




Offline kinjo

  • *
  • 30389
  • 24
  • Lavalle Lee
    • FLASHCARTOONS.ORG
Re: OVERLOAD
« Reply #4 on: September 07, 2010, 07:51:23 AM »
[refle]http://www.dvdonline.com.au/images/high_risk.JPG[/refle]

whats up with the jackie chan look alike, that is pretty mean of jet li

Offline tkoold

  • *
  • 11928
  • 69
  • The Kool Dude
    • Ranma 1/2 Fans
Re: OVERLOAD
« Reply #5 on: September 08, 2010, 10:05:58 AM »
its like american rule # 1 if you cant beat em look and act like them lol