我的代码如下所示:
IF INKEY$ <> "" THEN CALL notitle
PLAY "MST170o1e8o0b8o1e8"
IF INKEY$ <> "" THEN CALL notitle
PLAY "e8e4f#8g4f#8"
IF INKEY$ <> "" THEN CALL notitle
PLAY "g4e8d2o0b8o1d2 "
IF INKEY$ <> "" THEN CALL notitle
PLAY "o1e8o0b8o1e8e8e4f#8g4f#8g4a8b2g8b2MLg16a16"
IF INKEY$ <> "" THEN CALL notitle
PLAY "MSb4b8b8a8g8a4a8a4f#8g4g8MLg8f#8"
IF INKEY$ <> "" THEN CALL notitle
PLAY "MSe8f#4f#8f#8g8a8b4.a4.g4.f#4.o0b8o1e8e8e4d8e2."
这似乎相当乏味。有没有办法更简洁地重写这个?我相信代码试图为用户提供一种跳过音乐的方式。