File IO in TCL
There are basically three modes of handling files. Read, Write and Append. Below are the ways: #1. r -> Read a file, file must exist. #2. w -> Write a file, If file exists, then file will get truncated. #3. a -> Append the file, file must exist. #4. r+ -> Open a file for […]