You could use some kind of map (key/value collection) between a specific string (the command) and a delegate (the function to call). Then instead of the select-case stament you simply grab the...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: wildfrog Search: Search took 0.09 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |