liuzzz6
I don't know why there are three "&& resolves to &." in the middle of log information.
program as follows:
%let out1=a;
%let previtem=1;
%let y=y1;
%let y1=z;
%put &&out&previtem&&y; /*submit first*/
%put &&out&previtem&&&y;/*submit second*/
First:
the log show:
29 %put &&out&previtem&&y;
SYMBOLGEN: && resolves to &.
SYMBOLGEN: Macro variable PREVITEM resolves to 1
SYMBOLGEN: && resolves to &.
SYMBOLGEN: && resolves to &.
SYMBOLGEN: && resolves to &.
SYMBOLGEN: Macro variable OUT1 resolves to a
SYMBOLGEN: Macro variable Y resolves to y1
ay1
Second:
the log file show:
30 %put &&out&previtem&&&y
SYMBOLGEN: && resolves to &.
SYMBOLGEN: Macro variable PREVITEM resolves to 1
SYMBOLGEN: && resolves to &.
SYMBOLGEN: && resolves to &.
SYMBOLGEN: && resolves to &.
SYMBOLGEN: Macro variable Y resolves to y1
Can anyone tell me the reason? Thank you very much.
liuzzz6
这里不顶就要沉默?
liuzzz6
nobody could answer me?
carla
Second:
the log file show:
30 %put &&out&previtem&&&y should be:
SYMBOLGEN: && resolves to &.
SYMBOLGEN: Macro variable PREVITEM resolves to 1
SYMBOLGEN: && resolves to &.
SYMBOLGEN: && resolves to &. ------I don't know
SYMBOLGEN: && resolves to &. ------I don't know
SYMBOLGEN: Macro variable Y resolves to y1
SYMBOLGEN: Macro variable OUT1 resolves to a
SYMBOLGEN: Macro variable Y1 resolves to z
az
1. &&out&previtem&&&y
2. &out1&y1
az
liuzzz6
your don't know is what i don't know.