JUEGO (n) FunciónObjetivo:Devolver el número de notas actualmente en el fondo cola de música. Sintaxis:JUEGO (n) Comentarios:el n es un argumento falso, y puede ser cualquier valor. El JUEGO (n) vuelve 0 cuando en el modo de primer plano de música. El máximo volvió el valor de x es 32. Ejemplos:10 'cuando 4 notas son dejadas en 20' cola juegan otra melodía 30 JUEGO "MBABCDABCDABCD" 40 SI JUEGO (0) =4 entonces 200... 200 JUEGO "MBCDEFCDEF" |
PLAY(n) FunctionPurpose:To return the number of notes currently in the background music queue. Syntax:PLAY(n) Comments:n is a dummy argument, and may be any value. PLAY(n) returns 0 when in music foreground mode. The maximum returned value of x is 32. Examples:10 ' when 4 notes are left in 20 ' queue play another tune 30 PLAY "MBABCDABCDABCD" 40 IF PLAY (0) =4 then 200 . . . 200 PLAY "MBCDEFCDEF" |