• cost on external program menu

    From Mlong@VERT to All on Friday, October 16, 2020 14:52:36
    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 Friday, October 16, 2020 20:10:33
    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