Sha256: 776defb2210a3cc006890775dbb2d5d306f6fe0966eba39d247eebd723909a39

Contents?: true

Size: 1.02 KB

Versions: 11

Compression:

Stored size: 1.02 KB

Contents

   # this method views an existing address record
  def loadconfigurationrecord
 
         require 'fileutils'
         if TinkerWin2ConfigurationFileName 
               @a_configurationfilename = TinkerWin2ConfigurationFileName 
         end
	      
        begin # exception trapped block
       
       Dir.chdir($progdir)
	      fileName = File.join(ConfigurationDir, TinkerWin2ConfigurationFileName)
        
	      fd = File.open(fileName,"r")
	      @a_configline1=        fd.readline.chomp
	      @a_configline2 =  fd.readline.chomp
        @a_configline3 = fd.readline.chomp
          @a_configline4 = fd.readline.chomp
        @a_configline5 = fd.readline.chomp
         @a_configline6 = fd.readline.chomp 
          @a_configline7 =fd.readline.chomp
          @a_configline8 = fd.readline.chomp
	 
	      while ! fd.eof?
	        @extraconfigdatadisplay = fd.readline
	      end
        fd.close
        rescue SystemCallError, StandardError
            $stderr.print "system call error: " + $!
        end # exception rescue

  end

Version data entries

11 entries across 11 versions & 7 rubygems

Version Path
rubyslippers-0.96 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdaddresses-0.94 code/rwdtinkerbackwindow/loadconfigurationrecord.rb
rwddemo-0.8 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdmovies-0.7 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdshell-0.94 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdschedule-0.91 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdschedule-0.92 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.46 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.45 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.44 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.43 code/xb1rwdtinkerbackwindow/loadconfigurationrecord.rb