TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: All
from: Digital Man
date: 2023-10-20 22:54:00
subject: Dupes

I possibly spewed a bunch of old dupes of this message area to FidoNet and USENET. Sorry about that, if you were impacted.

I have to remember: when opening a file, that might already exist, for read and write, you have to do this trick:

        f.open(f.exists ? 'r+':'w+')

Just opening (always) with 'w+' truncates the file, losing all contents (in this instance, import/export msg ptrs). Oops. :-(
-- 
                                            digital man (rob)

Rush quote #63:
He's got a problem with his poisons, but you know he'll find a cure
Norco, CA WX: 72.1øF, 44.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
--- SBBSecho 3.20-Linux
                                                    
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

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™.