in reply to Re: File parsing query
in thread File parsing query
First note: adding in the middle of a file is impossible (overwritting is possible).
Second note: In my post above I did not use $. (I did think about it though), because the OP speaks about widgets, so I guess that a widget is a special kind of line, but I can be wrong ofc...
Seek and tell in this case would be hard to use.
It would be possible to use it when the following steps are followed:
Some remarks by this story: how much bytes should be reserved for the string?
Using seek and tell would be possible if and only if a fixed number of bytes are added, so you can open a new (temp), write data to it while you read, add some empty bytes (which will be overriden at a later point) and do the ma
|
|---|