: I can't assign the text files in procedure?\
: How can I assign then?
Assignin files within a procedure is no different from assigning them within the program-body. The file-variable can be both global and local, but global file variables must be declared before all the procedures which use it.