From: ursus major Date: 2002-10-22T13:16:06+09:00 Subject: Ruby/Tk newbie question Folks: A little help, please, with following script: =============================== require 'tk' def positionWindow(w,x=300,y=300) geom = '+300+600' #<< why does this work, #geom = '+', x, '+', y #<< and this NOT work (when uncommented!), print geom, "\n" #<< when they both print out the same? w.geometry(geom) #<< the commented statement gives an error here! end root = TkRoot.new aFrame = TkFrame.new(root) positionWindow(root, 300, 600) Tk.mainloop ================================== Sigh, Alan Walkington United Defense, San Jose