[fpc-pascal] how to open a .dat file

Marco van de Voort marcov at stack.nl
Thu Jan 27 08:25:40 CET 2005

> hey im in high school and we just started using pascal. one of my projects 
> is to open a file named file.dat
> the file is located in this folder:  c:/tp/bin

It doesn't belong here.

> but i dont know how to do this becuase i have never used this program before 
> and my teach didnt explain anything...
> i would appreciate it if sombody could help me....

.dat is typically a custom format. So the teacher should know.

You could try to open it in notepad to see if it is a textfile, otherwise
hexdump it.

More information about the fpc-pascal mailing list