由买买提看人间百态

topics

全部话题 - 话题: startwght
(共0页)
S******y
发帖数: 1123
1
来自主题: Statistics版 - SAS variable +(-1) 是什么意思?
see PUT statement and list output in SAS Online Doc
----------------------------------
/* A more meaningful example */
data _null_;
input idno name $ startwght;
put name 'weighs ' startwght +(-1) '.';
datalines;
032 David 180
049 Amelia 145
219 Alan 210
;
These lines are written to the SAS log:
David weighs 180.
Amelia weighs 145.
Alan weighs 210.
-----------------------------------
The +(-1) pointer control moves the pointer backward to remove the unwanted
blank that occurs between the... 阅读全帖
(共0页)