_SUB MyMESS,L%~1W250H150,%~2  //可定位对话框
_END
_SUB FUN
    MyMESS %1 "A:  %2"
    { LOCK  售火车票   火车票  //同时锁定2个锁
        MyMESS %1 "B:%2 已锁" 
    } //这里自动释放
    MyMESS %1 "C:%2 已释放" 
_END
THREAD* FUN 300 from_thread 
FUN 650  from_MAIN
