File extensions don't really matter! It's the format that counts! You can name a text file something.ini, something.doc, even something.jpg! It'll still be a text file and to read it properly you need a simple text editor!
Edit: Of course file extensions are used to separate file types, but this doesn't have to do with the way data is being stored! In general you can use any extension for a file! Perhaps if you give an extension example of the ones you don't understand we could explain it to you!
There are three formats you can save a hash table into:
-simple text file (readable by Notepad)
-ini file (text files with the common ini format)
-binary file
In text files everything is stored with its ASCII value.
In binary files everything is stored with its binary value.
This actually affects only numbers. For large amount of data it makes the file much much smaller (and that's the point after all)! The other basic difference is that binary files are not readable by a text editor (again as far as numbers are concerned).
eg. number 22 is 0001 0110 binary while it is 0011 0010 0011 0010 ( 50 50) ascii (in text) - already saved a byte!
and that's it more or less...
Last edited by dr_Eamer; 25/08/04 10:27 PM.