Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2373

Make `$slice()` 'end' parameter optional

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.7.1
    • 2.7.2
    • Scripting
    • None

    Description

      The documentation for the `$slice()` scripting function is incorrect because it shows the `end` parameter as optional.  The parameter can be left empty, but it still requires that it be included (thus requiring an additional comma in the call).  In discussing corrections to the documentation it was decided to correct the operation of the function to make the `end` parameter truly optional.

      Attachments

        Activity

          People

            rdswift Bob Swift
            rdswift Bob Swift
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package
                2.7.2