From: Daniel Moore Date: 2010-01-30T15:25:45+09:00 Subject: [QUIZ] Ruby BASIC (#228) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Quiz: 1. Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this message was sent. 2. Support Ruby Quiz by submitting ideas and responses as often as you can. 3. Enjoy! Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone on Ruby Talk follow the discussion. Please reply to the original quiz message, if you can. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - RSS Feed: http://rubyquiz.strd6.com/quizzes.rss Suggestions: http://rubyquiz.strd6.com/suggestions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ## Ruby BASIC (#228) 10 PRINT "Hello Rubyists" 20 END Inspired by one of the solutions from quiz #223[1], this week's quiz is to write a BASIC interpreter. There are many different versions of BASIC with some subtle differences, so for the purpose of this quiz let's focus on unstructured Dartmouth BASIC[2]. Everyone should feel encouraged to post some samples of their favorite BASIC programs for testing. Have fun! [1]: http://rubyquiz.strd6.com/quizzes/223 [2]: http://en.wikipedia.org/wiki/Dartmouth_BASIC#Keywords -- -Daniel http://rubyquiz.strd6.com