User | Kudos |
---|---|
6 | |
2 | |
2 | |
2 | |
1 |
I have pondered this and not sure it is possible but it would be nice to allow using case structures to work with vi server references. It is very tedious to test each type with a cast to more specific and the for each type and check for error (current method or itterating through the class hierarchy).
I know that subclasses pose an issue, I would like to see for the case structure to limit each case to select the highest level (ie g object) and the distince cases are error or any direct class child of the specified parent type class.
The Use case I see is for handling itterating through controls from an array of controls (if the control is a boolean do something different than if the reference is to a string control).
Could be very nice for scripting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.