Re: Decision Tables




"Bartc" wrote:

Function Match(A, B)=
For i:=1 to A.Fields do
if B.[i]<>"*" and A.[i]<>B.[i] then return 0 fi
end
return 1
End

Yeah, this pretty much does what I need. Man, and I wrote all of that code!
:-)

This is probably a moot point, but the actual messages I'm dealing with use
integer fields rather than strings. -1 will work as a wildcard as it can
never appear as a value in one of the fields of a valid message.


.