Back

SetStringInfoNumber()




    USAGE

    void SetStringInfoNumber(Window, GadgetID, Number, Base)

    FUNCTION

    Installs the number you have provided into the specified string gadget by converting it in to ASCII in the number base indicated. The base is any number between 2 and 16. Obviously hex (16), decimal (10), octal (8) and binary (2) are of the most interest.

    The changed string gadget will be redisplayed.

    INPUTS

    Window Pointer to the window the the StringInfo structure resides in.
    GadgetID Short integer ID of the gadget2.
    Number Short integer you provide to convert.
    Base Base (2 trough 16) for the conversion.

    RESULT

    none (void)