Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

I have a Pascal program. It's designed to read input from a file. Where do I put the file so I can call it by name?

+2 votes
asked Jan 1 by Richard Abbott (140 points)

write('filename: ');


1 Answer

0 votes
answered Jan 10 by Peter Minarik (45,000 points)

Please, have a look at this to see a file example in Pascal.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.