资讯专栏INFORMATION COLUMN

会说话的ABAP report

_Zhao / 3395人阅读

摘要:用的也是很老的技术代码直接的的,通过暴露出来,这个只是了里其中一个方法

report z.

INCLUDE ole2incl.

DATA: ole   TYPE ole2_object,

      voice TYPE ole2_object,

      text  TYPE string.

text = "With the advent of ES6 (referred to as ES2015 from here on), which not only made promises native to the language without requiring one of the countless available libraries,"

&& "we also got generators. Generators have the ability to pause execution" &&

"within a function, which means that by wrapping them in a utility function, " &&

"we have the ability to wait for an asynchronous operation to finish before" &&

" moving on to the next line of code. Suddenly your asynchronous code could" &&

" start to look synchronous!".

DATA: it_tline TYPE STANDARD TABLE OF tline.

CREATE OBJECT voice "SAPI.SpVoice".

CALL METHOD OF voice "Speak" = ole

   EXPORTING #1 = text.

*

用的也是很老的OLE技术:

report代码直接call的MS的sound engine,通过sapi.dll暴露出来,

这个report只是call了dll里其中一个speak方法:

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/93715.html

相关文章

  • 说话ABAP report

    摘要:用的也是很老的技术代码直接的的,通过暴露出来,这个只是了里其中一个方法 report z. INCLUDE ole2incl. DATA: ole   TYPE ole2_object,       voice TYPE ole2_object,       text  TYPE string. text = With the advent of ES6 (referred...

    褰辩话 评论0 收藏0
  • 说话ABAP report

    摘要:用的也是很老的技术代码直接的的,通过暴露出来,这个只是了里其中一个方法 report z. INCLUDE ole2incl. DATA: ole   TYPE ole2_object,       voice TYPE ole2_object,       text  TYPE string. text = With the advent of ES6 (referred...

    selfimpr 评论0 收藏0
  • ABAP function group和Tomcat library重复加载问题

    摘要:现在我有一个名为的。的源代码那么我执行,断点会触发一次还是两次答案是两次。库文件的重复加载问题我的里定义了一个的依赖关系,可以把其类比成在我的代码里调用提供的。问题在运行时,只会将一份的内容加载到内存么答案是不会。 ABAP ABAP help文档里对**LOAD-OF-PROGRAM的关键字是这样描述的: This event keyword defines the program ...

    Julylovin 评论0 收藏0
  • ABAP OPEN SQL里OPEN CURSOR和SELECT比较

    摘要:所以里面看到的这个是指满足指定条件的记录的个数,并不是最后返回给层的记录的个数。而在我的测试系统里,表总共就包含条记录。发现被扫描的记录数变成了,证明我们的结论是正确的。 OPEN CURSOR After the OPEN CURSOR statement, the database cursor is positioned in front of the first line of...

    bigdevil_s 评论0 收藏0
  • ABAP OPEN SQL里OPEN CURSOR和SELECT比较

    摘要:所以里面看到的这个是指满足指定条件的记录的个数,并不是最后返回给层的记录的个数。而在我的测试系统里,表总共就包含条记录。发现被扫描的记录数变成了,证明我们的结论是正确的。 OPEN CURSOR After the OPEN CURSOR statement, the database cursor is positioned in front of the first line of...

    Aomine 评论0 收藏0

发表评论

0条评论

最新活动
阅读需要支付1元查看
<