From: "Alan (Ursus Major)" Date: 2002-10-23T01:37:26+09:00 Subject: Re: Ruby/Tk newbie question Thanks, Hal Alan "Hal E. Fulton" wrote in message news:01d301c27982$c7621b00$0300a8c0@austin.rr.com... > The commented statement assigns an > array to geom. It just happens to > look the same when you print it. > > If you used p instead of print or > puts, you'd notice the difference. > > What you want is something like one > of these: > > geom = "+#{x}+#{y}" > geom = "+" + x.to_s + "+" + y.to_s > > Hal > > > >