Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-11371

DICTIONARY example in LR has error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.4
    • Component/s: Documentation
    • Labels:
      None

      Description

      example for DICTIONARY says:

      OUTPUT(MapColor2Code('Red')); //true
      OUTPUT(MapCode2Color(4)); //true

      Should be:

      OUTPUT(MapColor2Code('Red')); //2
      OUTPUT(MapCode2Color(4)); //'Yellow'

        Attachments

          Activity

            People

            Assignee:
            jamesdefabia Jim DeFabia
            Reporter:
            jamesdefabia Jim DeFabia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: