Well, it's the stems that do all the work.

Brian Nielsen

On Mon, 7 Jul 2008 17:56:47 -0400, Howard Rifkind <[EMAIL PROTECTED]>
 
wrote:

>Yep...I was thinking about the SELECT instruction also.



>>> Brian Nielsen <[EMAIL PROTECTED]> 7/7/2008 5:51 PM >>>

On Mon, 7 Jul 2008 20:26:50 +0000, Chip Davis <[EMAIL PROTECTED]> wrote:



>In fairness, your problem is not caused by unfamiliarity with formal

>logic, but mere lack of clarity.  



Brings back memories of the obfuscated C contest.  Some of those entries 
=



were brilliant.



>If I might suggest an alternative so far overlooked:



And here is another (obscure) alternative that also allows phrases and =




synonyms without complicated logic tests:



/* */



_.=''

_.y='Y'

_.ye='Y'

_.yes='Y'

_.okay='Y'

_.please='Y'

_.maybe='Help'

phrase='I GROVEL BEFORE YOU TO PERMIT IT'

_.phrase='Y'

phrase='YOU ARE CRAZY IF YOU THINK I WANT TO DO THAT'

_.phrase='N'



say 'Should I do this?'

pull answer



SELECT

   WHEN _.answer='Y'

      THEN say 'I will do it'

   WHEN _.answer='N'

      THEN say 'I will not do it'

   WHEN _.answer='Help'

      THEN say 'RTFM and make up your mind'

   OTHERWISE say 'Invalid answer'

END





Brian Nielsen



_____________

LEGAL NOTICE

Unless expressly stated otherwise, this message is confidential

and may be privileged. It is intended for the addressee(s) only.

Access to this E-mail by anyone else is unauthorized.

If you are not an addressee, any disclosure or copying of the

contents of this E-mail or any action taken (or not taken) in

reliance on it is unauthorized and may be unlawful. If you are not an

addressee, please inform the sender immediately, then delete this

message and empty from your trash.

Reply via email to