• cost on external program

    From Mlong@VERT to All on Fri Oct 16 10:52:00 2020
    I noticed the format for listing external programs on the menu is:

    "\1h\1c%3u \xb3 \1n\1c%-32.32s\1h " 383 XtrnProgLstFmt

    And the code is doing this:

    printf(options.multicolumn_fmt, j+1
    ,prog_list[j].name
    ,prog_list[j].cost);

    So its passing cost in, but not displaying it. Is this intended?

    Since I am rewriting this part, I just need to know if its something I should bother to support or not.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mlong on Fri Oct 16 16:10:00 2020
    Re: cost on external program menu
    By: Mlong to All on Fri Oct 16 2020 02:52 pm

    I noticed the format for listing external programs on the menu is:

    "\1h\1c%3u \xb3 \1n\1c%-32.32s\1h " 383 XtrnProgLstFmt

    And the code is doing this:

    printf(options.multicolumn_fmt, j+1
    ,prog_list[j].name
    ,prog_list[j].cost);

    So its passing cost in, but not displaying it. Is this intended?

    Yes. It just so that a sysop could "opt-in" to use/display program costs if they wanted. It's a very old feature that nobody seems to use.

    Since I am rewriting this part, I just need to know if its something I should bother to support or not.

    Not unless you plan to use it.


    digital man

    Synchronet "Real Fact" #15:
    SBBSecho was introduced (replacing SBBSFIDO) for Synchronet v2 in 1994.
    Norco, CA WX: 80.0øF, 56.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net