如题,貌似没发现有什么区别,上网搜索也没找到有用的说法。
老外论坛上貌似也说这两个是相同的:
Reading data inline means that the raw data is part of the SAS program. You enter the actual data points inside the PROGRAM EDITOR. The DATALINES statement indicates to SAS that DATA step statements are completed and the next line contains real data. Notice that the lines of data do not end in a semicolon. Instead of the DATALINES statement you can also use the CARDS statement. The two are equivalent. CARDS stems from way back when reading data meant feeding punch cards. The lone semicolon should be pointed before the PROC PRINT statement.