From: Peter Vanderhaden Date: 2007-11-22T12:58:31+09:00 Subject: Problem printing variable with $stdout.print I'm a newbie to Ruby & OO programming, so please bear with me. I searched the forum & didn't find anything relevant. I want to print the value of argv[0] to standard output, but I can't figure out the syntax. Below is one of the ways I tried, but it obviously doesn't work. I'd appreciate any advice anyone can provide, along with syntax that will get this to work. Thanks $stdout.print "Invalid filename entered: argv[0] \n" -- Posted via http://www.ruby-forum.com/.