Re: Simple boolean expression evaluator
- From: "Richard Marchand" <richardm@xxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 08:57:25 -0400
Thank Marek,
I will test it and will let you know what I find. If I have the opportunity
to improve it, I will let you know.
Richard
"marek jedlinski" <marek@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:m9p3c1lgbhjatml7so7la68kkgmtmtvrhq@xxxxxxxxxx
> On Tue, 21 Jun 2005 11:26:11 -0400, "Richard Marchand"
> <richardm@xxxxxxxxxxx> wrote:
>
>
>>I am searching for a simple function that will take a string of boolean
>>expressions like:
>>
>> "((True of false) and (false or false)) or (true and false)"
>>
>>And return a boolean result.
>>
>
> I have a class that implements this kind of search, will post it to
> .attachments in a minute. It's based on example code by Julian Bucknall
> (published in Delphi Magazine once), which I modified to break into
> specialized classes and to make the evaluator event-driven. I'm using it
> in
> an application without a problem, but it's not very fast and the way it
> works doesn't allow for shortcut evaluation. Feel free to use it for any
> purpose if it does what you need.
>
>
> .marek
>
> --
> No ads, no nags freeware: http://www.tranglos.com
> (KeyNote, PhoneDeck, KookieJar, Oubliette, URLInject)
>
> "No man's life, liberty, or property is safe while the
> legislature is in session." (Judge Gideon J. Tucker, 1866.)
>
.
- References:
- Re: Simple boolean expression evaluator
- From: marek jedlinski
- Re: Simple boolean expression evaluator
- Prev by Date: TBetterADODataSet installation?
- Next by Date: Re: Looking for wysiwyg HTML authoring component
- Previous by thread: Re: Simple boolean expression evaluator
- Next by thread: Real PDF component
- Index(es):
Relevant Pages
|