From: rashworth Date: 2001-03-31T02:52:23+09:00 Subject: [ruby-talk:13358] Prog. Ruby: p156-157 The Sample Application from Thomas & Hunts, Programming Ruby, page 156-157 has an example of "Pig." If I open the Ruby only Icon of Pig, and then use the Ruby Interpreter, where Pig is part of the Tk file, the results are correct. However, if I open the same file with "Notepad", copy and paste the file to the Ruby Interpreter, IRB the program goes into a loop and I receive no output. The text file in the latter is the same text as given on pages 156-157. Why the difference? Thank you very much. Bob Ashworth