t****y 发帖数: 576 | 1 我觉得题目并没有特别限定,a和d都对,a可能得不到想要得value但题目并没有说想给
price赋什么样的值啊
Which of the following statements correctly creates a DATA step variable
named Price and assigns to it the value of the macro variable daily_fee
during DATA step execution?
a.
price=&daily_fee;
b.
price=symget(daily_fee);
c.
price=symget(&daily_fee);
d.
price=symget("daily_fee"); | d******9 发帖数: 404 | 2 No. Only d correct.
Please pay attention to the question:
Which of the following statements correctly creates a DATA step variable
named Price and assigns to it the value of the macro variable daily_fee
***during DATA step execution *** ?
The key point is: during DATA step execution.
Although price=&daily_fee can finally get the same results, but it actually
get the assigned macro variable value during MACRO PROCESSING phase, which
is before the data step execution. |
|