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

Document Std.Util.PlatformVersionCheck

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      From PR:

      /**

      • Simple function that tests a full version string against the individual
      • platform version constants to determine if the platform's version is at
      • least as high as the argument.
        *
      • Note that this function will be evaluated at compile-time if the argument
      • is a constant. This makes it useful for embedding in #IF() declarations:
        *
      • #IF(PlatformVersionCheck('6.2.0-1'))
      • OUTPUT('Platform check TRUE');
      • #ELSE
      • OUTPUT('Platform check FALSE');
      • #END
        *
      • @param v The minimum platform version in either xx.xx.xx, xx.xx,
      • or xx format (where xx is an integer and does not need
      • to be zero-padded); extra trailing characters (such as
      • the '-1' in the example above) are ignored; REQUIRED
        *
      • @return If TRUE, the platform's current version is equal to or higher than
      • the argument.
        */

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamesdefabia Jim DeFabia
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: