Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望循环播放声音,直到打开/关闭按钮关闭。
我使用这段代码:
WHILE BTN_Bouton73..Enfoncé=1 Son(S_chemin+"H3.wav",sonBoucle) END
但它进入了一个无限循环!
尝试
WHILE BTN_Bouton73..Enfoncé=1 Son(S_chemin+"H3.wav",sonBoucle) Multitask(-1) END
我想你可以按下按钮停止
它将控制权交还给 Windows:请参阅文档