in reply to comparision operators

  1. 'f' eq 'f'
  2. 'r' eq 'r'
  3. 'e' eq 'e'
  4. 'd' lt 'e'. ie. ord('d') == 100; ord( 'e' ) == 101; 100 < 101;

Therefore 'fred' lt 'free' is true.

But, I'm guessing you probably knew all that; so now you will ask your real question? :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: comparision operators
by rob171171 (Acolyte) on Dec 01, 2010 at 11:18 UTC
    Emm yes of course...,..., after some time looking at it that is. Thank You BrowserUK