Re: Decision Tables
- From: "Leslie Sanford" <jabberdabber@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Jan 2008 19:57:28 -0600
"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.
.
- Follow-Ups:
- Re: Decision Tables
- From: Ben Bacarisse
- Re: Decision Tables
- References:
- Decision Tables
- From: Leslie Sanford
- Re: Decision Tables
- From: Ben Bacarisse
- Re: Decision Tables
- From: kwikius
- Re: Decision Tables
- From: Bartc
- Re: Decision Tables
- From: Ben Bacarisse
- Re: Decision Tables
- From: Bartc
- Decision Tables
- Prev by Date: Re: help!
- Next by Date: Re: What makes a CD-ROM bootable?
- Previous by thread: Re: Decision Tables
- Next by thread: Re: Decision Tables
- Index(es):