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

 

posted @ 2023-11-21 11:04  西北小蚂蚁  阅读(120)  评论(0编辑  收藏  举报