Quartz | Level 8

## SAS VA outside exclusive

Hi,

in sas VA,

-the filter n Between inclusive (4,5) it means:        n <=5 and n>=4

-the filter n  OutsideExclusive(4,4) it means:         n <4 and n >4

is it right?

1 ACCEPTED SOLUTION

Accepted Solutions
SAS Super FREQ

## Re: SAS VA outside exclusive

Hello,

Your understanding is correct. The documentation for these two operators is:

BetweenInclusive

returns true if the first value is within the range defined by the second and third values (including the bounding values).

For example, `X BetweenInclusive(50, 100)` returns true if X is greater than or equal to 50 and less than or equal to 100.

OutsideExclusive

returns true if the first value is outside the range defined by the second and third values (excluding the bounding values).

For example, `X OutsideExclusive(50, 100)` returns true if X is less than 50 or greater than 100.

Note: The OutsideExclusive operator has the same effect as `Not (BetweenInclusive)`.

Let us know if you have further questions.
Thanks,
Sam

SAS Super FREQ

## Re: SAS VA outside exclusive

Hello,

Your understanding is correct. The documentation for these two operators is:

BetweenInclusive

returns true if the first value is within the range defined by the second and third values (including the bounding values).

For example, `X BetweenInclusive(50, 100)` returns true if X is greater than or equal to 50 and less than or equal to 100.

OutsideExclusive

returns true if the first value is outside the range defined by the second and third values (excluding the bounding values).

For example, `X OutsideExclusive(50, 100)` returns true if X is less than 50 or greater than 100.

Note: The OutsideExclusive operator has the same effect as `Not (BetweenInclusive)`.

Let us know if you have further questions.
Thanks,
Sam

Discussion stats