• Dupes

    From Digital Man@VERT to All on Fri Oct 20 18:54:01 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
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net