PLAY fileToPlay, boolIdent_Bool [LOOPPLAY] |
PLAY NONE |
fileToPlay | in | Identifier of Txt type - music file to play (e.g. *.wav). |
boolIdent_Bool | out | Identifier of BOOL type. Playing success. |
LOOPPLAY | in | Optional key word - cyclic playing. |
NONE | in | Key word - stop the cyclic playing. |
BOOL _ret PLAY "hallo.wav", _ret LOOPPLAY IF _ret THEN DELAY 10[s] PLAY NONE ENDIF |