Re: Decision Tables




"Ben Bacarisse" <ben.usenet@xxxxxxxxx> wrote in message
news:87wsps82s9.fsf@xxxxxxxxxxxx
"Leslie Sanford" <jabberdabber@xxxxxxxxxxxxxxxxx> writes:

"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!
:-)

Ah! And I thought you needed a more general solution!

I probably didn't do a good job describing exactly what I needed, but the
above solution looks like it fits the bill. Having said that, your previous
post using stacks intrigued me, and I'll spend some time studying it. Thanks
for your solution.



.



Relevant Pages

  • Re: Please read Mr. Kaster, Mr. Intersimone, TeamB members and the rest of all .Net friends !!!
    ... Well, yeah. ... I'd be curious to know if anyone thinks something else fits ... the bill. ... Regards, ...
    (borland.public.delphi.non-technical)
  • who really is kevin cannon?
    ... > BOB: Hey, did you hear about TSB Bearings? ... > BILL: Yeah, fucked up, huh? ... > BILL: Hehehe. ...
    (rec.arts.poems)
  • Re: Lest We Forget
    ... Both my parents died in Texas, so yeah I've met and known a ... Don't flatter yourself, you scaley legged, barhide bitch.. ... I never claimed to be a veteran, Bill. ... together enough money for at least one beer. ...
    (rec.motorcycles)
  • Re: Dr. Legs has left the building!!
    ... >>billfl@xxxxxxxxxx (Bill Livingston) wrote: ... Yeah, they told me my punning kilt the thread, but I plaid the fifth. ... JSJ1TG, no, Sharon Osbourne already has a show. ...
    (rec.arts.tv.mst3k.misc)
  • Re: There -is- a God.
    ... No yeah, but. ... The Bill of Rights says probable cause and due process. ... about the American Indian wars, or some of the other American history. ...
    (rec.scuba)