the
tone
tone
()
put the tone
wait until the tone is "done"
The tone
function returns the frequency of the tone currently being generated by the tone
command, or the string "done"
if no tone is currently playing.
The "done"
string is a literal; it is not a constant like zero
or true
. In HyperTalk code, the "done"
literal is often left unquoted, but in XION this is highly discouraged.