04-14-2006 11:16 AM
04-14-2006 11:39 AM
04-14-2006 11:48 AM
Can you describe the nature of the problem, and how it was fixed, for the benefit of future forum searchers who may have a similar problem?
-D
04-14-2006 11:56 AM
04-14-2006 12:04 PM
For these sityations I like to use a typedef enum linked to the case structure, here you can easily maintain the states. The case will polymorph to the input type so an enum will appear like the eamed enumarations, an int will be just the number and a string will allow for any arbitrary string to define a state case. The nice thing about typedef enums is that you can change the enum string ant the code is automatically updated, as well as having the option to select add a case for each value of the enum.
Paul
04-14-2006 02:34 PM