Uploaded image for project: 'Specification'
  1. SPEC-242

Allow non-inclusive two-sided ranges in ADL

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 1.0.1
    • Component/s: ADL
    • Labels:
      None
    • Change Description:
      Hide
      Changes made:
      In dADL and cADL (which uses the dADL range syntax), add the ability to handle the expressions:
      |>N..M|
      |N..<M|
      |>N..<M|
      for all the ordered types for which intervals can already be constructed.
      Show
      Changes made: In dADL and cADL (which uses the dADL range syntax), add the ability to handle the expressions: |>N..M| |N..<M| |>N..<M| for all the ordered types for which intervals can already be constructed.
    • Approved By:
      PG

      Description

      Currently, the range of Integer (Real, Date, etc) of the form
      0 > x <= 1000
      is not handled. Nor are the other possible combinations:
      0 >= x < 1000
      0 > x < 1000
      Only the inclusive range is handled, i.e. 0 >= x <= 1000, expressed as
      |1..1000| in ADL.

      ADL (both dADL and cADL) needs to include the other forms, using syntax like:
      |>0..1000|
      |0..<1000|
      |>0..<1000|

        Attachments

          Activity

            People

            • Assignee:
              OLDthomasbeale OLDthomasbeale
              Reporter:
              OLDsamheard (Sam Heard) inactive (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: