mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
ask for filename
This commit is contained in:
parent
6b3f39fa1a
commit
0545b77cf4
@ -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 ")
|
||||
|
Loading…
Reference in New Issue
Block a user