我在SAS9.3上运行但是和官方的tutorials 的结果不一样,请问大家print 是什么结果? 谢谢啦。
DATA RELATIVE;
INPUT @1 (X1-X3) (1. + 1)
@2 (Y1-Y3) (1. + 1);
DATALINES;
1 2 3 4 5 6
;
PROC PRINT DATA=RELATIVE;
TITLE 'RELATIVE COLUMN POINTERS';
RUN;
原文是这样说的:
[size=9.000000pt]The INPUT statement above says to start reading in column 1 (@1) and then read a single digit value (1.) and then skip acolumn (+1). Do this for all the X-values. When you are finished, go back to column 2 (@2) and read the Y-values in thesame way. If you had more than three X's and Y's, this technique could save you lots of typing.