# this code loads the help text tmphelpfilename = "rwdgutenberghelpfiles.txt" tmphelpdir = "rwd_files" begin # exception trapped block fileName = File.join(tmphelpdir ,tmphelpfilename ) fd = File.open(fileName,"r") tmphelptext = fd.read fd.close eval tmphelptext rescue SystemCallError, StandardError $rwdtinkerlog.error "gutenberg help file load: system call error: " end # exception rescue