Home > Community > Forums > Custom IC SKILL > hiCreateReportField() warnings


* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 hiCreateReportField() warnings 

Last post Fri, Feb 12 2010 11:14 AM by Andrew Beckett. 1 replies.
Started by Yaosan 12 Feb 2010 12:35 AM. Topic has 1 replies and 1099 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Feb 12 2010 12:35 AM

    • Yaosan
    • Top 500 Contributor
    • Joined on Fri, Aug 7 2009
    • Toronto, Ontario
    • Posts 35
    • Points 610
    hiCreateReportField() warnings Reply

    Whenever I run the SKILL Lint on my code, it gives me a warning whenever I use the hiCreateReportField() function to create a report field:

     WARN (hiCreateReportField): The meaning of the "value" property for hiCreateReportField is changing
        in release IC 5.0.0 (01.01).  A new property named "choices"
        has been added in release 4.4.6 (00.01), and any reference to
        "value" in 4.4.6 MUST be changed to refer to "choices"
        in order to remain compatible going forward.

    How can I prevent this warning from showing up?

    Here's a sample of how I'm using the report field:

            report = hiCreateReportField(
                ?name 'report
                ?title "File List"
                ?headers '( ( "Filename" 300 'left 'string t ) ( "Size" 120 'left 'int t ) ( "Type" 120 'left 'string t ) )
                ?choices fileList
                ?sort '(1 nil)
                ?selectMode 'extended
                ?callback 'myReportCB
                ?enableDeselectCB t

    • Post Points: 20
  • Fri, Feb 12 2010 11:14 AM

    Re: hiCreateReportField() warnings Reply

    You can turn off the message, by doing:


    but it still lowers your lint score even with the message turned off. You can also turn it off via the Custom  checkbox on the Lint form.

    This message probably should be an INFO rather than a WARNING, or at the very least the rule should be defined to have the version information coded, so that it can be filtered by setting the Code Version on the lint form. So you should contact Cadence Customer Support and ask for this to be changed (best to come from a customer request).




    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Yaosan at 12 Feb 2010 12:35 AM. Topic has 1 replies.