Hi Pawel,
I am starting a new thread because I think I know what you are asking for.
First of all, you can not change the values of the case structure itself BUT,
there is a way.
What I suggest is the following;
1) Code your second case as normal. Pretend it has 3 cases 0,1 &2.
2) Code the first case (just example) such that is has two cases A&B.
3)Have the first case state A return an array of (3)strings that is "Good", "Bad", and "Ugly".
4)Have the first case state B return an array of (3) strings that is "Bad", "Ugly", and "Good".
Feed the above mentioned arrays into a serach 1-d array function. Use the retuned index to select the proper case of "the second case".
If you now pass "A" to the first case structure, and "Good" to the "se
arch 1-d array" it will return an index of 0 and the second case will execute case "0".
If you pass the first case "B" and again pass "Good" to the "serach...." it will return an index of 2 and the second case will execute state "2".
So,
by manipulating the arrays returned by the first case structure, you can "dynamically" influence which of the states of the second case is called.
There are many variations on this idea that are possible. A similar approach would make it possible to select states based on wildcards and simulate "sparse enums".
Did I nail it this time?
Ben