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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.7.2
    • 2.7.1
    • Scripting
    • None

      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.

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

              Created:
              Updated:

                Version Package
                2.7.2