楼主: jankal
1763 2

[问答] 怎么在program中使用output语句??? [推广有奖]

  • 0关注
  • 0粉丝

初中生

38%

还不是VIP/贵宾

-

威望
0
论坛币
9 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
172 点
帖子
8
精华
0
在线时间
12 小时
注册时间
2014-3-4
最后登录
2017-3-12

楼主
jankal 发表于 2014-3-25 22:18:41 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
大概的形式长成这样:
output(r = rtf,c = ?) D:\1.rtf

求问问号的地方应该填什么,语句这么写哪里错了,为什么没有办法生成一个rtf文件?
pon和poff在这里有用吗
二维码

扫码加我 拉你入群

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

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

关键词:Program output put语句 outpu gram

回帖推荐

rayzhangfy 发表于2楼  查看完整内容

'2007-12-03 22:42 'automatic printing, and redirect output to rtf file %wf = @evpath + "\Example Files\data\demo" wfopen %wf 'open the workfile output(r,c) testout 'send all outputs to rtf, with command logging pon 'Turn on automatic printing 'some table or graph views pr.stats 'statistics of price index rs.line 'short term interest rates poff 'Turn off automatic printing ...

本帖被以下文库推荐

沙发
rayzhangfy 发表于 2014-3-26 10:30:28
'2007-12-03 22:42
'automatic printing, and redirect output to rtf file
%wf = @evpath + "\Example Files\data\demo"
wfopen %wf  'open the workfile
output(r,c) testout  'send all outputs to rtf, with command logging
pon  'Turn on automatic printing
'some table or graph views
pr.stats  'statistics of price index
rs.line 'short term interest rates
poff  'Turn off automatic printing
output off  'turns off output redirection

请参考上面的语句,符号 ' 后面的是注释哦请保存成后缀为prg的文件运行
已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10   查看全部评分

勤靡余劳,心有常闲

藤椅
jankal 发表于 2014-3-30 19:06:02
rayzhangfy 发表于 2014-3-26 10:30
'2007-12-03 22:42
'automatic printing, and redirect output to rtf file
%wf = @evpath + "\Exampl ...
谢谢~问题解决了~~~~~~

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-19 14:38