Jump to content
Sign in to follow this  
Jkeith247

Function name in variable

Recommended Posts

I know there is an easy way to do this... for some reason it is escaping me right now... Basically I am sending UDP commands from one pc to another. The UDP command is in actuallity the name of a function on the other pc. Instead of creating some lengthy "if" statements, I am trying to call the function based on the UDPcommand... Is it possible to call store a function name into a variable and then call the function?

Share this post


Link to post
Share on other sites

Thank you very very much.... It was a late night coding marathon and I was not on the mental up and up.... Coffee was not working... We have all been there...

THANK YOU!!!

P.S. Somehow I knew I was going to feel like an idiot....

Edited by Jkeith247

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...