REPORT  ZRICO_SPEAK.
 
include ole2incl.
 
data:ole type ole2_object,
     voice type ole2_object.
 
parameters:p_text type string.
 
start-of-selection.
 
create object voice 'SAPI.SpVoice'.
 
call method of voice 'Speak' = ole
 
exporting #1 = p_text. 

 

posted on 2018-12-24 18:00  ricoo  阅读(339)  评论(0编辑  收藏  举报