| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Special Requests |
Hi Paul,
I've just been fiddling trying to read and write to the same
file without much success, so I gave it up and read files.20 into an
array and then wrote in back separately, to avoid having to use a
temp file which bloody useless C is unable to erase properly like a
decent language like Pascal can do with one leg in the air.
This is the revised utility which removes the zero length files from
files.20 without using a temp file. It's limited to 512 lines which
ought to be enough. The only catch I can see is that it rewrites
files.20 with the actual data in memory, and if something went wrong
at that point you'd be rooted.
section 1 of 1 of file null20.zip
begin 644 null20.zip
M4$L#!!0````(`&Z!72%$5\(V]{at}(``/P&```(````3E5,3#(P+D.-5.M*&T$4
M_CU"WN$D_>&NN6Y`*<8(4A2$T$*T4-#\F&YFD\'-;#H[T=CHB_4=^DX]9V9V
MSEYY6#]3DLUV;KD:9K%]JYR()6!
M&9 * Origin: Precision Nonsense, Sydney (3:711/934.12)SEEN-BY: 711/934 712/610 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.