programmer-on-the-street

When the bomb drops, the real fun begins, so let's get to work.

Saturday, May 23, 2009

iPhone dev Stupidity 8

* a || b returns YES/NO

in Lua a or b returns a if a is not nil or it will return b.

While in Objective-C, || works the same with C - || produce a logic result.

Posted by al_lea at 8:13 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My photo
al_lea
i write noki, fio, grag and luabit.
View my complete profile

Blog Archive

  • ►  2011 (7)
    • ►  February (3)
    • ►  January (4)
  • ►  2010 (20)
    • ►  November (5)
    • ►  June (10)
    • ►  March (1)
    • ►  January (4)
  • ▼  2009 (126)
    • ►  December (6)
    • ►  November (18)
    • ►  October (66)
    • ►  June (16)
    • ▼  May (16)
      • iPhone dev Stupidity 11
      • iPhone dev Stupidity 10
      • iPhone dev Stupidity 9
      • iPhone dev Stupidity 8
      • iPhone dev Stupidity 7
      • iPhone dev Stupidity 6
      • iPhone dev Stupidity 5
      • iPhone dev Stupidity 4
      • iPhone dev Stupidity III
      • iPhone dev stupidity II
      • iPhone dev stupidity - I
      • SPEL - the virtue
      • Back quotes embedding - List
      • Back quotes embeded: The basic
      • Symbols are big - lexical variables
      • Symbols are big
    • ►  March (4)

Labels

  • aquamacs lisp slime emacs
  • clojure
  • Lisp
  • lisp symbol
Awesome Inc. theme. Powered by Blogger.