# this code is to list the directories def saglistdialogmapdirs if $DEBUG $stderr.puts " temp_rwddialogmap_directory = #{$temp_rwddialogmap_directory}" end if $temp_rwddialogmap_directory == nil temp_dir = $rwddialogmap_directory $temp_rwddialogmap_directory = $rwddialogmap_directory else temp_dir = $temp_rwddialogmap_directory end @dialog_directory3= temp_dir if $DEBUG $stderr.puts "temp_dir = #{temp_dir}" end fileList = Dir.new(temp_dir).entries.sort dialoglines = ["1","2","3"] @dialogmapdirectoriesresultA = fileList.rwd_options @dialogmapdirectoriesresultB = fileList.rwd_options @dialogmapdirectoriesresultC = fileList.rwd_options end