`

assigning values with move

阅读更多
REPORT demo_data_move NO STANDARD PAGE HEADING.

* MOVE

DATA: t(10) TYPE c,
      number TYPE p DECIMALS 2,
      count  TYPE i.

t = 1111.
MOVE '5.75' TO number.
count = number.
WRITE 'MOVE'.
ULINE.
WRITE: / t, / number, / count.

* MOVE CORRESPONDING

DATA: BEGIN OF address,
        firstname(20) TYPE c VALUE 'Fred',
        surname(20) TYPE c VALUE 'Flintstone',
        initials(4) TYPE c VALUE 'FF',
        street(20) TYPE c VALUE 'Cave Avenue',
        number TYPE i VALUE '11',
        postcode(5) TYPE n VALUE '98765',
        city(20) TYPE c VALUE  'Bedrock',
      END OF address.

DATA: BEGIN OF name,
        surname(20) TYPE c,
        firstname(20) TYPE c,
        initials(4) TYPE c,
        title(10) TYPE c VALUE 'Mister',
      END OF name.
MOVE-CORRESPONDING address TO name.

SKIP.
WRITE: / 'MOVE CORRESPONDING'.
ULINE.
WRITE: / 'FIRSTNAME', address-firstname,
       / 'SURNAME  ', address-surname,
       / 'INITIALS ', address-initials,
       / 'STREET   ', address-street,
       / 'NUMBER   ', address-number,
       / 'POSTCODE ', address-postcode,
       / 'CITY     ', address-city.
SKIP.
WRITE: / 'SURNAME  ', name-surname,
       / 'FIRSTNAME', name-firstname,
       / 'INITIALS ', name-initials,
       / 'TITLE    ', name-title.
分享到:
评论

相关推荐

    Cheat Engine 5.6.1

    Disabled executing the aobscan when assigning a script to the table Some disassembler fixes Again some more DPI fixes The byte-editor in the hexeditor window is now properly aligned at the proper ...

    Delphi7.1 Update

    * TClientDataSet allocates values against nested dataset AutoInc fields but it should not (Quality Central 5509).* When using a TimeStamp type parameter with a TClientDataSet an error occurs when the...

    一本android的好书beginning android 2 和 源码

    Assigning Labels Button, Button, Who’s Got the Button? Fleeting Images Fields of Green Or Other Colors Just Another Box to Check Turn the Radio Up It’s Quite a View Useful Properties Useful ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part2

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part1

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part2

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part1

    B218389 - Focus does not move to the previous/next row when it passes the first/last tile within the current row if a tile control's OptionsBehavior.FocusItemOnCycle property is set to True ...

    计算机网络第六版答案

    14. If the two ISPs do not peer with each other, then when they send traffic to each other they have to send the traffic through a provider ISP (intermediary), to which they have to pay for carrying ...

Global site tag (gtag.js) - Google Analytics