From 25d5d402ae1704e16b360ac5f94683d37b7ec528 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Mon, 12 Jul 2010 15:47:29 +0200 Subject: [PATCH] fixed DSM example thanks to Anton Zagorskiy for the hint --- doc/src/doc_howtostart_noproxy.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/src/doc_howtostart_noproxy.h b/doc/src/doc_howtostart_noproxy.h index 5201226d..1e7d5798 100644 --- a/doc/src/doc_howtostart_noproxy.h +++ b/doc/src/doc_howtostart_noproxy.h @@ -152,13 +152,14 @@ Then we paste this little script in /usr/local/lib/sems/dsm/mydsmapp.dsm : \code - initial state BEGIN { - playFile(/usr/local/lib/sems/audio/webconference/first_participant.wav - }; + initial state BEGIN + enter { + playFile(/usr/local/lib/sems/audio/webconference/first_participant.wav + }; transition "file ends" BEGIN - noAudioTest -> TYPING; state TYPING; - transition "typed a key" BEGIN - keyTest(#key < 10) / { + transition "typed a key" TYPING - keyTest(#key < 10) / { set($myfile=/usr/local/lib/sems/audio/webconference/); append($myfile, #key); append($myfile, .wav);