Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.84 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. +++++ +++++             initialize counter (cell #0) to 10
  3. [                       use loop to set the next four cells to 70/100/30/10
  4.     > +++++ ++              add  7 to cell #1
  5.     > +++++ +++++           add 10 to cell #2
  6.     > +++                   add  3 to cell #3
  7.     > +                     add  1 to cell #4
  8.     <<<< -                  decrement counter (cell #0)
  9. ]                  
  10. > ++ .                  print 'H'
  11. > + .                   print 'e'
  12. +++++ ++ .              print 'l'
  13. .                       print 'l'
  14. +++ .                   print 'o'
  15. > ++ .                  print ' '
  16. << +++++ +++++ +++++ .  print 'W'
  17. > .                     print 'o'
  18. +++ .                   print 'r'
  19. ----- - .               print 'l'
  20. ----- --- .             print 'd'
  21. > + .                   print '!'
  22. > .                     print '\n'