Sha256: 843de436b81915a6941f17840b8b6189dd2ae419cb441e966caeaf4dd973210e
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
# this method puts the configuration rexord on the screen def loadrwdaddressesconfiguration require 'fileutils' @a_adconfigurationfilename = "rwdaddresses.cnf" begin # exception trapped block Dir.chdir($progdir) fileName = File.join(ConfigurationDir, "rwdaddresses.cnf") fd = File.open(fileName,"r") @a_adconfigline1= fd.readline.chomp @a_adconfigline2 = fd.readline.chomp @a_adconfigline3 = fd.readline.chomp @a_adconfigline4 = fd.readline.chomp @a_adconfigline5 = fd.readline.chomp @a_adconfigline6 = fd.readline.chomp @a_adconfigline7 =fd.readline.chomp @a_adconfigline8 = fd.readline.chomp @a_adconfigline9 = fd.readline.chomp @a_adconfigline10 = fd.readline.chomp @a_adconfigline11 = fd.readline.chomp @a_adconfigline12 = fd.readline.chomp @a_adconfigline13 = fd.readline.chomp @a_adconfigline14 = fd.readline.chomp @a_adconfigline15 = fd.readline.chomp @a_adconfigline16 = fd.readline.chomp @a_adconfigline17 = fd.readline.chomp @a_adconfigline18 = fd.readline.chomp @a_adconfigline19 = fd.readline.chomp while ! fd.eof? @extraadconfigdatadisplay = fd.readline end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwdaddresses-1.01 | code/superant.com.rwdaddresses/loadconfigurationrecord.rb |