It appears you can't pass a TextFile as a Parameter in a Procedure:
PROCEDURE WORKonDATA (dataFile : TextFile; dataFileName : String )
This probably has something to do with the fact that the dataFile is a Pointer or something. (I am a Just Beginner... UGH!)
Does anyone know how to pass dataFile as a Parameter?
Thanks in advance
Tom
PS. I could make it Global but I want to have a general purpose Proc.
PROCEDURE WORKonDATA (dataFile : TextFile; dataFileName : String )
This probably has something to do with the fact that the dataFile is a Pointer or something. (I am a Just Beginner... UGH!)
Does anyone know how to pass dataFile as a Parameter?
Thanks in advance
Tom
PS. I could make it Global but I want to have a general purpose Proc.