Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-01

how to open a .dat file

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Robert Skakic

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
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....

Marco van de Voort
to Robert Skakic
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.

Michael Knapp
to Robert Skakic: hey im in high school and we just started using pascal. one of my projects is to open a…
Robert Skakic wrote 7 lines
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 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....

I recommend that you visit a library (maybe there is one at your school) and look for introductionary pascal programming books.

Michael