Sha256: 597b93e264b6bf57a7f8b44c318e0ce0dd1b04d91810e7e7316d19714256367d

Contents?: true

Size: 868 Bytes

Versions: 18

Compression:

Stored size: 868 Bytes

Contents

# this method puts the configuration rexord on the screen
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

18 entries across 18 versions & 10 rubygems

Version Path
rubyslippers-1.02 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rubyslippers-1.04 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rubyslippers-1.03 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdaddresses-1.04 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdaddresses-1.02 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdaddresses-1.03 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwddemo-0.92 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdgutenberg-0.04 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdhypernote-0.07 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdmovies-0.94 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdmovies-0.95 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdschedule-1.00 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdschedule-0.99 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdshell-0.99 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.62 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.64 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtinker-1.63 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb
rwdtorrent-0.03 code/superant.com.rwdtinkerbackwindow/loadconfigurationrecord.rb