g*******t 发帖数: 124 | 1 I am learning SAS macro now.. but I am confused with these two commands: %
bquote and %str.
It is said %str performs during compilation while %bquote is for execution.
So that we have the following:
%let text=%str(John%'s report);
%let text=%bquote(John's report);
What does that mean?
Thanks! |
q**j 发帖数: 10612 | 2 it is about how to hide special characters. i cannot memorize very clearly.
if my momery is okay %str cannot hide or mask % and &, while %bquote can. yo
u'd better read the manual more clearly. it is the first topic in programmin
g III.
.
【在 g*******t 的大作中提到】 : I am learning SAS macro now.. but I am confused with these two commands: % : bquote and %str. : It is said %str performs during compilation while %bquote is for execution. : So that we have the following: : %let text=%str(John%'s report); : %let text=%bquote(John's report); : What does that mean? : Thanks!
|
g*******t 发帖数: 124 | 3 yeah! good memory.
i am just curious about the difference between the compilation and execution
.
thanks!
.
yo
programmin
【在 q**j 的大作中提到】 : it is about how to hide special characters. i cannot memorize very clearly. : if my momery is okay %str cannot hide or mask % and &, while %bquote can. yo : u'd better read the manual more clearly. it is the first topic in programmin : g III. : : .
|
y****1 发帖数: 400 | 4 I think %nrstr masks % and &.
clearly.
can. yo
programmin
【在 q**j 的大作中提到】 : it is about how to hide special characters. i cannot memorize very clearly. : if my momery is okay %str cannot hide or mask % and &, while %bquote can. yo : u'd better read the manual more clearly. it is the first topic in programmin : g III. : : .
|