http://qs321.pair.com?node_id=312581


in reply to Re: Re: To Trinary or not to Ternary
in thread To Trinary or not to Ternary

Check out the <=> and cmp operators... :-)
  • Comment on Re: Re: Re: To Trinary or not to Ternary

Replies are listed 'Best First'.
Re: Re: Re: Re: To Trinary or not to Ternary
by eric256 (Parson) on Dec 05, 2003 at 18:59 UTC

    Those are just functions that return -1,0 or 1. Thats easy enough. I'm talking about control statements that can respond to suck input. if,unless,while...etc all respond to only a true and false and have two actions accordingling (continue looping, execute statment, etc). What I'm wondering is what does a trinary language look like in control statments, and what use is it realy? Of course I never saw the use of LISP so perhaps I'm too short sighted :-)


    ___________
    Eric Hodges