ask for filename

This commit is contained in:
Irmen de Jong 2023-03-03 17:24:16 +01:00
parent 6b3f39fa1a
commit 0545b77cf4

View File

@ -29,7 +29,12 @@ main {
sub start() {
uword buffer = memory("buffer", 1024, 256)
str MUSIC_FILENAME = "music.wav"
str MUSIC_FILENAME = "?"*32
txt.print("name of .wav file to play: ")
while 0==txt.input_chars(MUSIC_FILENAME) {
; until user types a name...
}
bool wav_ok = false
txt.print("\nchecking ")