>>> 您现在的位置: 中国交通技术网 >> 资料文库 >> 交通软件 >> INRO系列 >> 正文

EMME/2常见问题解答8:Macros

更新时间:2007-8-27  来源:tranbbs  作者:佚名  人气:  [ 投稿 ] [投稿帮助
  is probable that, by changing the path for your macro, the macro line then exceeded the limit of 128 characters. This could also happen if the macro was renamed with a longer name or if the length of the macro parameters was longer.

8.0.4: Under DOS, I cannot specify more than 8 parameters for a macro calLED from the EMME2 command line. What is the problem?

The maximum number of macro parameters which can be processed via the DOS emme2.bat command is 8. This is because a DOS command can have a maximum of 9 parameters (%1 to %9); so, EMME2.bat can accept only the macro filename and 8 macro parameters (%1% to %8%).

On the other hand, since Release 9, if a macro is calLED from within EMME/2, it can access up to 32 parameters (%1% to %32%).

Here is an example:

The simple macro (referred to as simple.mac):

~/ %0% %1% %2% %3% %4% %5% %6% %7% %8% %9% %10%
~/ %0% %11% %12% %13% %14% %15% %16% %17% %18% %19% %20%
~/ %0% %21% %22% %23% %24% %25% %26% %27% %28% %29% %30%
~/ %0% %31% %32%

should display the list of the 32 parameters:

<~/ 32 1 2 3 4 5 6 7 8 9 10
<~/ 32 11 12 13 14 15 16 17 18 19 20
<~/ 32 21 22 23 24 25 26 27 28 29 30
<~/ 32 31 32

If the macro is calLED with the 32 parameters directly from the DOS prompt or from a batch file:

  特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。本站所有技术文章、专业软件资料仅供技术人员、高校师生学习交流之用,目的旨在促进与提高中国的交通技术水平;用户获取后不得用于商业目的,否则,所产生的法律责任本站概不负责。
责任编辑:七星
发表评论】【加入收藏】【打印此文
相关内容
Transportation and the Environment in China
GeoMedia 和GeoMedia Professional 常见问题解答
NMEA 0183 技术信息
如何将将以大地坐标(meter)存储的数据转换为以度为单位进行存储
GIS and Remote Sensing in urban transportation planning: A c
>>> 热点资料
·徐州市主城区轨道线网规划
·智能交通电子警察与城市道路监控系统
·哈尔滨市举办2009年大冬会交通规划探讨
·公交智能化整体方案(大量实际效果图)
·微观交通仿真并行化方法与策略_
·安蒙德机动车视频电子警察系统解决方案--纯视频机
·中小城市交通特性与交通模式研究
·DynaCHINA动态网络交通分析与实时路况预测软件介
·长沙市城区道路交通拥堵的特点、成因及对策
·试论大型活动的交通保卫与交通组织
>>> 推荐资料
·区域停车诱导系统解决方案
·哈尔滨市举办2009年大冬会交通规划探讨
·DynaCHINA动态网络交通分析与实时路况预测软件介
·中国射频识别(RFID)技术政策白皮书
·伦敦市道路拥挤收费政策解析
·香港地铁屏蔽门系统考察研究
·我国城市轨道交通主要投融资模式及创新思路
·加拿大留学申请程序
·国家地理信息标准化“十一五”规划
·美国地方政府的规划实践(1)
>>> 交通图库

四层车道桥,你还见过更高的吗?

太阳能急转标志牌

太阳能施工导向车(推拉式)

太阳能施工导向牌
>>> 博客交通
·区域停车诱导系统解决方案
·哈尔滨市举办2009年大冬会交通规划探讨
·DynaCHINA动态网络交通分析与实时路况预测软件介
·中国射频识别(RFID)技术政策白皮书
·伦敦市道路拥挤收费政策解析
·香港地铁屏蔽门系统考察研究
·我国城市轨道交通主要投融资模式及创新思路
·加拿大留学申请程序
·国家地理信息标准化“十一五”规划
·美国地方政府的规划实践(1)
网友评论:(评论内容只代表网友观点,与本站立场无关!)
  请遵守《互联网电子公告服务管理规定》及中华人民共和国其他各项有关法律法规。