I have directory of data files along with a few other types of files.
data file names start at 0000 and run to 3999. I have a program that
creates an array for the data files without the non data files. This
program works good but have I created the shortest way of doing the
Thanks for grading my test. Jeff
#Puts the contents of the current directory into data_files.
dir_file_list = Dir.entries(".")
data_files = 
if files.to_i > 0 && files.to_i < 4000