Re: Enhancement: Dynamic Values on attributes.

From: Shalom Bresticker (Shalom.Bresticker@motorola.com)
Date: Mon Nov 03 2003 - 21:35:17 PST

  • Next message: Shalom Bresticker: "Re: Minutes of BTF meeting November 3rd, 2003"

    $itos and $stoi would be very useful.
    We have often had need for such.

    > So instead of a $strcat that does the conversion and concatenation both,
    > perhaps it would be better to have a $itoa or $itos (integer to string)
    > function, and use the existing concatenation operator for the concatenation
    > part. This would fit in with the existing $itor and $rtoi conversion
    > functions. The naming convention could be extended by having a family
    > of functions with a base specifier at the end of the name, like the
    > $display family of tasks (and $readmemb and $readmemh). I must admit
    > that a name like $itosb is pretty ugly though.

    Shalom

    --
    Shalom Bresticker                           Shalom.Bresticker@motorola.com
    Design & Reuse Methodology                             Tel: +972 9 9522268
    Motorola Semiconductor Israel, Ltd.                    Fax: +972 9 9522890
    POB 2208, Herzlia 46120, ISRAEL                       Cell: +972 50 441478
    


    This archive was generated by hypermail 2.1.4 : Mon Nov 03 2003 - 21:28:32 PST and
    sponsored by Boyd Technology, Inc.