Eternal0601 发表于 2013-5-28 17:18 
可以用putn,putc,inputn,inputc实现
我试了下,貌似报错了。不知道具体如何操作。还请赐教。谢谢啦。
SYMBOLGEN: Macro variable P resolves to 0.0011267876
WARNING: Argument 2 to function INPUTN referenced by the %SYSFUNC or %QSYSFUNC macro function is
out of range.
NOTE: Mathematical operations could not be performed during %SYSFUNC function execution. The
result of the operations have been set to a missing value.
SYMBOLGEN: Macro variable P resolves to 0.0011267876
WARNING: Argument 2 to function INPUTN referenced by the %SYSFUNC or %QSYSFUNC macro function is
out of range.
NOTE: Mathematical operations could not be performed during %SYSFUNC function execution. The
result of the operations have been set to a missing value.
ERROR: A character operand was found in the %EVAL function or %IF condition where a numeric
operand is required. The condition was: %sysfunc(inputn(&p,PVALUE6.4)) se 0.7
ERROR: The macro TTEST will stop executing.