• uifc issue

    From mlong@VERT/INREALM to All on Friday, October 16, 2020 11:28:03
    Hey Digital Man,

    I am doing this:

    selection2 = uifc.input(WIN_ORG | WIN_MID, "Input Key", item.input, 3, K_EDIT | K_GETSTR | K_UPPER);

    And if I type a lower case letter, it comes in as lower case. So is K_UPPER implemented in the uifc javascript library, and/or am I doing something wrong?

    I'm just upper casing the input for now, but wanted to check about this

    ---
    þ Synchronet þ My Brand-New BBS
  • From Digital Man@VERT to mlong on Friday, October 16, 2020 20:09:27
    Re: uifc issue
    By: mlong to All on Fri Oct 16 2020 11:28 am

    Hey Digital Man,

    I am doing this:

    selection2 = uifc.input(WIN_ORG | WIN_MID, "Input Key", item.input, 3, K_EDIT | K_GETSTR | K_UPPER);

    And if I type a lower case letter, it comes in as lower case. So is K_UPPER implemented in the uifc javascript library, and/or am I doing something wrong?

    It works fine for me so long as "item.input" is not an undefined value.

    I'm just upper casing the input for now, but wanted to check about this

    I suspect that you're passing an undefined value which is throwing off the argument parsing.

    Also, not that it makes any difference, but K_GETSTR is not used in uifc.


    digital man

    Sling Blade quote #10:
    Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill 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