菜菜謀謀,來看看這個sas題目 when you feel free。

來源: 2010-01-13 10:04:14 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

The contents of the raw data file AMOUNT:

----|----10---|----20---|----30
$1,234

The following SAS program is submitted:

data test;
infile'amount';
input @1 salary 6.;
run;

what's wrong with the program above?
i think there should be a error existing, so there is a missing numeric value for salary. correct?

then how can we read the number 1234 correctly?