Hey guys
I am trying to prompt the user to input a file name, and save that file name into a packed array of characters
then use that inputed flename to perform some opertions.
FileName : text;
Line = PACKED ARRAY [0..79] of char ;
writeln('Please input a file name to read input from.');
readln(FileName);
ASSIGN(InputFile,FileName);
RESET(InputFile);
The ASSIGN statement throws the following error: Error: Can't determine which overloaded function to call
Can anyone help me resolve this issue?
Thanks