Sha256: 90f1cfcbc456758a8e1b5b0696ebd9e8952fb9cc575af066d2436d292678b09b
Contents?: true
Size: 453 Bytes
Versions: 7
Compression:
Stored size: 453 Bytes
Contents
#view name def viewvcarddata require 'fileutils' $currentnametext = "%s" % [@a_viewvcarddata] begin # exception trapped block fileName = $addressfiles_directory + "/" + $currentnametext + ".vcf" fd = File.open(fileName,"r") @viewvcarddatadisplay = " " while ! fd.eof? @viewvcarddatadisplay = fd.read end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
7 entries across 7 versions & 2 rubygems