BookmarkSubscribeRSS Feed
SRINIVAS_N
Calcite | Level 5

can any one pls guide me what is the difference between  ?

1) :

2) &

3)~

4)@

5)@@

 

 

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

They are all different characters?  Posting a question with what is XYZ is not helpful, what have you read in the manual on these, where are you using them etc?

At a guess:

1) :    - used for stating lists of variables with incremented numeric suffix, like var1, var2 etc.

2) &    - And, logic gate

3)~      - could mean anything, I use this as split in report for instance.

4)@     - hold pointer when reading file

5)@@        - hold pointer until next iteration

 

If the above, then they are all well described in the manual.

 

s_lassen
Meteorite | Level 14

@RW9:

3)~      - could mean anything, I use this as split in report for instance.

Actually, it is also an alternative form of the NOT operator, e.g.

408  %put %eval(1~=2);
1

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 626 views
  • 3 likes
  • 3 in conversation