How to output messages to the foreground in the background program

Source: Internet
Author: User
We can use the module to implement this function. 1 M @ sndmsgfm
2 Dspsiz ( 24   80   * DS3)
4 R dummy1 clrl ( * No) Overlay frcdta
5 R dummy2 assume
6 3   20 '   '
8 R drmsg
9 Overlay
10 Clrl ( * No)
12 D # msg 70 O 24 2 color (PNK)
14 M @ sndmsgpg
16 FM @ sndmsgfpvdf e workstn
17 DM @ sndmsgpg PR
18 D p # msg 70 Const
19 DM @ sndmsgpg pi
20 D p # msg 70 Const
21 C
22 C eval D # msg = P # msg
23 C exfmt drmsg
24 C Return

One is a screen file and the other isProgram, Module form
This program can be used by the module to send messages.
You can even expand it into a module to ask for messages and then determine whether to continue the next step.
In fact, the most important thing is dummy1 dummy2.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.