From: aschneiderman@... Date: 2000-11-11T02:09:51+09:00 Subject: [ruby-talk:6254] Rescue problems I'm having problems getting rescue to work. I can catch a specific error, but I can't catch all errors. If I run this: ---------------------------------------------- begin print "this is a test" ddddd rescue => detail print "I ran into an error:\n" print detail.backtrace.join("\n") end ---------------------------------------------- Instead of catching the error, the script crashes: P:\VoiceTools>ruby testerror.rb testerror.rb:3: undefined local variable or method `ddddd' for Object:0x45aa5c0> (NameError) this is a test What am I missing? Thanks, Anders Schneiderman The National Journal Gruop Sent via Deja.com http://www.deja.com/ Before you buy.