DATA Step, Macro, Functions and more

&& resolution (again)

Accepted Solution Solved
Reply
Contributor
Posts: 47
Accepted Solution

&& resolution (again)

Hello

I've been reading material such as and http://support.sas.com/documentation/cdl/en/mcrolref/62978/PDF/default/mcrolref.pdf however I do not understand why the PUT statement below does not resolve to "It Worked!" in at least one of the instances.

Any insight would be gladly received please.&

%let Two_Pdf=It Worked!;

%let p=Two Words;

%let e=PDF;

* Neither put statement resolves to "It Worked!";

  %put >>> |&%scan(&p.,1)_&e..|;

  %put >>> |&%scan(&p.,1)_&&e..|;

  %put >>> |&&%scan(&p.,1)_&e..|;


Accepted Solutions
Solution
‎08-11-2015 07:31 AM
Respected Advisor
Posts: 3,777

Re: && resolution (again)

%UNQUOTE()  Use the force RTM.

View solution in original post


All Replies
Solution
‎08-11-2015 07:31 AM
Respected Advisor
Posts: 3,777

Re: && resolution (again)

%UNQUOTE()  Use the force RTM.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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