From: ts Date: 2001-06-17T18:59:53+09:00 Subject: [ruby-talk:16555] Re: Tk problems >>>>> "H" == Hal E Fulton writes: H> I thought that I could append "m" onto "padx" H> and "pady" (giving "padxm" and "padym") and H> switch from pixels to millimeters. It didn't change H> anything (though it ran). Also tried "c" and "i" H> (cm and inches). Then I thought: Maybe I'm H> supposed to append it onto the numeric value. H> So I changed the numbers to strings and H> appended characters. No luck. (Somehow it H> ran the same way, though it hung at the end.) The syntax is 'padx' => '1c' The problem is that the example in the book is wrong because it use a block form of #pack, which don't work. It's best to look at the example given in p. 156 which has the correct syntax. H> Trying out the Pig Latin example works fine H> *except* that when I press Exit, it crashes H> Ruby (with an illegal operation). For what H> it's worth, the details are below. Work fine on linux. Guy Decoux