in reply to Re: S/// for Switch-case-default to if-if else-else conversion
in thread S/// for Switch-case-default to if-if else-else conversion

It is Netcool rules file which is a proprietory glorified massive if then else statement with variable, field, and property assignments.
  • Comment on Re^2: S/// for Switch-case-default to if-if else-else conversion

Replies are listed 'Best First'.
Re^3: S/// for Switch-case-default to if-if else-else conversion
by pc88mxer (Vicar) on Jul 07, 2008 at 03:52 UTC
    Then you should show us what you want to convert it to. There are a lot of implementation details to consider. For instance, will you need to create an intermediate variable for the switch value, and if so, how do you do that? Also, how do you test for equality in Netcool, and is there a difference between string equality and number equality?