From: Edgard Riba Date: 2006-02-01T03:25:39+09:00 Subject: Re: Beginner question on classes on different files Hi Stefan, I'm using FreeRuby, and I'm getting intermitent errors. This is the error I get >ruby c:/ruby/samples/hello.rb c:/ruby/samples/hello.rb:11: parse error, unexpected tIDENTIFIER, expecting $ h2 = Hello2.new()^Mputs h2.msg^M ^ However, I placed semi-colons (';') after each line and everything compiled fine and ran with expected results: h = Hello.new(); h2 = Hello2.new(); puts h2.msg; puts h.msg; print "Press RETURN"; $stdin.gets; Seems like some kind of problem with the parser. Maybe I have something setup wrong with respect to the end of line character or something like that... Thanks, Edgard -- Posted via http://www.ruby-forum.com/.