Hi,
<b>Binary mode.</b>in binary mode it opens the file as binary file.Both while reading a binary file
or writing to a binary file,the content transfered is in unchanged form.
it is same both in unicode and in non-unicode programs.
TEXTMODE:
for Text mode, it opens the file as text file. "Encoding " addition is specified
to define how the characters are represented in the txt file.if data type is char and flat, trailing blanks are removed.if datatype si stirng, trailing blanksa are not removed.
in unicode programs, only the content in char type data objects can be read or write into text file and encoding addition must be specified.
we can omit encoding addition for non unicode programs.
TExt mdoe encoding [line feed].
regards,
Sandhya.
rewards points if useful.