Speech and commas

Robert Brenstein rjb at robelko.com
Mon Mar 4 17:16:40 CST 2013


On 04.03.2013 at 17:55 Uhr -0500 Thomas McGrath III apparently wrote:
>on mouseUp
>     put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS
>     put "6" into tNum
>     send "TASpeak" && "Expanding" && quote & tTTS & quote && tNum && 
>"Tasks!" to me in 1 millisecond
>
>end mouseUp
>
>on TASpeak pTextToSpeak
>     --revStopSpeech
>     wait until revIsSpeaking() is false --with messages
>     revSpeak pTextToSpeak
>end TASpeak
>

This explains your problem. Without quote, TASpeak was seeing 
multiple paramaters (separated by commas) and pTextToSpeak contained 
only the text up to the first comma. If you had pTextToSpeak2, it 
would have the next section.

Robert



More information about the use-livecode mailing list