Stewart Gordon Wrote:
> Your problem is right here: In D, switch statements must have default 
> clauses of there's any chance of the value being switched not matching 
> any of the switches.  If there isn't, a SwitchError is thrown at 
> runtime.  Presumably, the program crashes because there's nothing 
> catching the error before Windows does.
> 
> The same applies in the inner switch.
> 
> Stewart.

Thank you so much for all your help! I make it finally.Now looking back found 
it kind of easy,no much difference with VC++.:P

Regards,
Sam

Reply via email to