• Dupes

    From Digital Man@1:103/705 to All on Fri Oct 20 22:54:00 2023
    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)