After creating a new array object, I want to load it with constant values. Being a COBOL programmer, I would make a sequential file with the values, and read them into the array. But I don't want to do this with JAVA. My program will eventually be an applet and won't be able to read in a sequential file (it's a DOS app now). The answer is putting all the data in a class, and setting up the array in there. Now, I'm stuck with writing 625 lines of code that looks like: MyArray = 31; MyArray = 26; . . . MyArray = 21; There's got to be a more practical way of loading this array with constants other than this way or reading from external files. But what is it? Thanks. :roll:
I am not insane. The voices in my head told me so.