What is the difference between opening a dataset for input, output, appending?

Go down

What is the difference between opening a dataset for input, output, appending?

Post  govind on Sun Apr 08, 2012 3:45 pm

• FOR OUTPUT
Opens the file for writing if exists it is overwritten if not then it is created.
• FOR INPUT
Opens an existing file for reading.
• FOR APPENDING
Opens the file for writing at the end of the file .If it does not exist, it is created, if opened, you return to the end.

govind
Admin

Posts : 54
Join date : 2012-01-31

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum