Hey there. Before i go on, im gonna say thanks for any help in advance.
So, I want to make a file name, appended with ".dat", which is dependant on an input file earlier in the code. this ".dat" file needs to contain some information on employee's name, hourly rate, etc. This data is used again later in the program.
My question is, is it possible to name a file from a variable, as well as having a variable WITHIN the .dat file?
For instance, i have a variable named employeeName1, which is filled in by an input file. I want this employeeName1 to be the NAME of a .dat file, as well as that .dat file having the string within employeeName1 be used.
I hope i explained that well enough. Any help will be greatly appreciated.
Alright, so my question is (i might use some non-standard terminology here, so bear with me please!) how would i go about making this program "portable", so to speak?
As in, i give my hypothetical clients here this program, and they are able to edit the contents of master.lst to put in their own employee's names, as well as their own data (.dat) files? In other words, how would incorporate other master.lst files, the data file names will be different. I need determine the names of the employee files by reading data from master.lst.
Would this involve naming the .dat some variable that's in the program?