From: CFC Date: 2006-02-20T01:08:34+09:00 Subject: Some error for Tk. Hi. When I was running my program, and click the button, it will show the following message: ArgumentError: wrong number of arguments (1 for 0) But, I have been read some samples.. and here is my code: require 'tk' require 'sdl' def Play(path, times) music=SDL::Mixer::Music.load(path) SDL::Mixer.playMusic(music,-1) end SDL::init(SDL::INIT_AUDIO) SDL::Mixer.open path=TkVariable.new TkEntry.new("textvariable"=>path).pack("padx"=>10) TkButton.new(){ text "Play" command {proc Play(path.value, -1)} }.pack("padx"=>10) Tk.mainloop Does it have any error in the code? Could anyone help me? Thank you a lot.