lakshmivaragan
Programmer
Hi,
When TCL variables are used for writing a file, the record length varies. This seems to be problem when:
1. Random access to records. Since record size varies we can't use tell or seek to point to any of the records and get it.
2. Rewrite a file. If I try to rewrite file with value larger than the previously written value it affects the next record.
Is there any way in TCL so that files can be written with uniform record length ?
Thanx
Lax
When TCL variables are used for writing a file, the record length varies. This seems to be problem when:
1. Random access to records. Since record size varies we can't use tell or seek to point to any of the records and get it.
2. Rewrite a file. If I try to rewrite file with value larger than the previously written value it affects the next record.
Is there any way in TCL so that files can be written with uniform record length ?
Thanx
Lax