设为首页收藏本站

EPS数据狗论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 2236|回复: 1

EViews 处理文件路径问题

[复制链接]

2

主题

44

金钱

60

积分

新手用户

发表于 2018-9-25 14:18:12 | 显示全部楼层 |阅读模式

EViews 7.1在处理文件路径规范方面提供了改进的功能,包括对".\"和 "..\" 前缀相对路径的扩展支持 。不幸的是,其中一些新功能与早期版本的EViews中解释的相对路径相冲突。下面的讨论概述了路径行为的变化。

EViews 7.1 and Later Behavior
Context(no prefix).\..\.\..\
Includerunpathlinepathabove runpathabove linepath
Execaddinslinepathabove addinsabove linepath
Run/Open/CD/Otherevdatalinepathabove evdataabove linepath

EViews 7 and Earlier Behavior
Context(no prefix).\..\.\..\
Includerunpathrunpathabove runpath---
Exec------------
Run/Open/CD/Otherevdataevdataabove evdata---

• linepath is the location of the program file containing the currently executed line. Thus in an included file, it will contain the location of the "child" program, not the location of the "parent" program.
• runpath is the location of the program file that is "running", where execution via exec or include does not count as "running". Thus if you run a program that contains included or execs, runpath in those included/exec'd files will refer to the location of the parent file, not the subprogram files. If a program was exec'd from the command line, then runpath will refer to the EViews data directory.
• addins is the location of the add‐ins directory
• evdata is the current EViews default directory
It is worth noting that the following string functions may be used to obtain the locations of these directories:
• @addinspath ‐ the location of the add‐ins directory
• @datapath – the location of the current EViews data directory
• @linepath – the location of the currently executed line
• @runpath – the location of the program that is "running", where execs and includes do not count as "running".
Note also that the special "<addins>" keyword may be used as part of a path to indicate the addins directory.

Paths.pdf

86.99 KB, 下载次数: 0, 下载积分: 贡献 -1

售价: 1 金钱  [记录]  [购买]

0

主题

8

金钱

36

积分

新手用户

发表于 2018-11-21 20:33:33 | 显示全部楼层
刚准备学eviews,先下载看看先,谢谢楼主的分享
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

站长推荐上一条 /1 下一条

客服中心
关闭
在线时间:
周一~周五
8:30-17:30
QQ群:
653541906
联系电话:
010-85786021-8017
在线咨询
客服中心

意见反馈|网站地图|手机版|小黑屋|EPS数据狗论坛 ( 京ICP备09019565号-3 )   

Powered by BFIT! X3.4

© 2008-2028 BFIT Inc.

快速回复 返回顶部 返回列表