Given 3 variables [var1, var2, var3], which represent the version [i.e.: 1, 2, 3, etc.] of each station.
I need a method/function to ensure that the version is the same in all stations that are reporting. So if the value [varX] is blank/null then do not count it in the comparisons, otherwise ensure all filled variables are the same.
I am looking for a way to check this without going threw case/select statements [first thing that comes to mind] for each possible case [when a variable is null].
Of course in reality there are 22 variables, which explains why I cannot do the trivial Case/Select for all possibilities of null variables.
Anyone have a better idea on how to code the pseudo-code above in VC#?
I need a method/function to ensure that the version is the same in all stations that are reporting. So if the value [varX] is blank/null then do not count it in the comparisons, otherwise ensure all filled variables are the same.
I am looking for a way to check this without going threw case/select statements [first thing that comes to mind] for each possible case [when a variable is null].
Of course in reality there are 22 variables, which explains why I cannot do the trivial Case/Select for all possibilities of null variables.
Anyone have a better idea on how to code the pseudo-code above in VC#?