cmm脚本之,循环、变量
OPEN #1 test.txt /Create LOCAL &Emdc_Rx_Timestape &Emdc_Rx_Timestape=V.VALUE(Emdc_Rx_Timestape) PRINT V.VALUE(Emdc_Rx_Timestape) "&Emdc_Rx_Timestape" RePeaT 100. ( IF V.VALUE(Emdc_Rx_Timestape) != V.VALUE(Emdc_Rx_Timestape) ( WRITE #1 %D V.VALUE(Emdc_Rx_Timestape) &Emdc_Rx_Timestape=V.VALUE(Emdc_Rx_Timestape) ) ) CLOSE #1 ENDDO