有没有办法改变Powershell的默认位置?
你如何设置Powershell的默认工作目录?
我正在尝试进行日期比较,但我没有得到正确的结果.有谁知道发生了什么?
%macro ttt;
%let check_start = 28APR2014;
%if "&check_start."d < "25may2014"d %then %let true = 1;
%else %if "&check_start."d > "25may2014"d %then %let true = 2;
%put &true;
%mend;
%ttt;
14 %macro ttt;
15 %let check_start = 28APR2010;
16 %if "&check_start."d < "25may2014"d %then %let true = 1;
17 %else %if "&check_start."d > "25may2014"d %then %let true = 2;
18 %put &true;
19 %mend;
20 %ttt;
true = 2
Run Code Online (Sandbox Code Playgroud)
宏变量true应该等于1
这个:
IF VAR1 ne VAR2 ne VAR3 ne VAR4;
Run Code Online (Sandbox Code Playgroud)
我希望这个条件检查是否:
这可能吗?