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:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。本站所有技术文章、专业软件资料仅供技术人员、高校师生学习交流之用,目的旨在促进与提高中国的交通技术水平;用户获取后不得用于商业目的,否则,所产生的法律责任本站概不负责。