全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2344 1
2015-11-19
悬赏 2 个论坛币 未解决
32.Consider the following data step:

data WORK.NEW;
    set WORK.OLD;
    Count+1;
run;

The variable Count is created using a sum statement. Which statement regarding this variable is true?
     A. It is assigned a value 0 when the data step begins execution.
     B. It is assigned a value of missing when the data step begins execution.
     C. It is assigned a value 0 at compile time.
     D. It is assigned a value of missing at compile time.


为什么答案是C ???????


据我所知,compile阶段只是检查语句是否错误而已,并没有进行赋值的。只有在execution的阶段才开始赋值的吧???
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-3-14 23:11:14
count在数据步的编译(compile)过程中,初始值就默认为0,且只能为0了。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群