BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
hqquenafees
Calcite | Level 5

Hi, 

 

please help me understand the following 

the symbol -< , <- and <-< are confusing 

 

%let big=0.7;
proc format;
    picture correlations &big -< 1 = '009.99' (prefix="*")
                         -1 <- -&big = '009.99' (prefix="*")
                         -&big <-< &big = '009.99';
run;

 

1 ACCEPTED SOLUTION

Accepted Solutions
ed_sas_member
Meteorite | Level 14

Hi @hqquenafees 

 

By default, a simple hyphen (-) means that boundaries are included.

To exclude them, you can use the inferior sign: <

  • &big -< 1 = '009.99' (prefix="*") is equivalent to [&big;1[
  • -1 <- -&big = '009.99' (prefix="*") is equivalent to ]-1;-&big]
  • -&big <-< &big = '009.99' is equivalent to ]-&big;&big[ 

View solution in original post

1 REPLY 1
ed_sas_member
Meteorite | Level 14

Hi @hqquenafees 

 

By default, a simple hyphen (-) means that boundaries are included.

To exclude them, you can use the inferior sign: <

  • &big -< 1 = '009.99' (prefix="*") is equivalent to [&big;1[
  • -1 <- -&big = '009.99' (prefix="*") is equivalent to ]-1;-&big]
  • -&big <-< &big = '009.99' is equivalent to ]-&big;&big[ 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 347 views
  • 0 likes
  • 2 in conversation