楼主: 从祥丰
1808 1

[问答] 求解sas [推广有奖]

  • 1关注
  • 0粉丝

大专生

80%

还不是VIP/贵宾

-

威望
0
论坛币
12030 个
通用积分
29.6785
学术水平
0 点
热心指数
5 点
信用等级
0 点
经验
9265 点
帖子
19
精华
0
在线时间
108 小时
注册时间
2016-9-29
最后登录
2025-6-22

楼主
从祥丰 发表于 2018-9-21 18:08:27 来自手机 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
sas在input 输入变量名时有+1这是啥意思
二维码

扫码加我 拉你入群

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

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

关键词:Input put

沙发
hsubin 在职认证  发表于 2018-9-21 21:19:16
INPUT statement有三种控制指针的方式:
1 column pointer controls: reset the pointer's column position when the data values in the data records are read, such as @, +n
2 line pointer controls: reset the pointer's line position when the data values in the data records are read, such as #n, slash(/)
3 line-hold specifiers: hold an input record in the input buffer so that another INPUT statement can process it. By default, the INPUT statement releases the previous record and reads another record, such as @ & @@

Pointer Controls:
@n   go to column n
+n   move the pointer n positions
@    hold the current input line and re-read certain variables.
@@    useful when each input line contains values for several observations
/      skip to the next line of raw data
#n    stands for the number of the line of raw data for that observation

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-16 15:43