ABAP可以提高效率的小语法详解编程语言

  • ADD dobj1 TO dobj2.

    Effect

    This statement has the same effect as the statement

    COMPUTE dobj2 = dobj2 + dobj1.

  • SUBTRACT dobj1 FROM dobj2.
    Effect

    This statement has the same effect as the statement

    COMPUTE dobj2 = dobj2 – dobj1.

  • The following table lists the relational operators for comparisons between operands (single operands or calculation expressions) of any data type.

    operator Meaning
    =, EQ Equal: True if the value of operand1 matches the value of operand2.
    <>, NE Not Equal: True if the value of operand1 does not match the value of operand2.
    <, LT Less Than: True if the value of operand1 is less than the value of operand2.
    >, GT Greater Than: True if the value of operand1 is greater than the value of operand2.
    <=, LE Less Equal: True if the value of operand1 is less than or equal to the value of operand2.
    >=, GE Greater Equal: True if the value of operand1 is greater than or equal to the value of operand2

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/18385.html

(0)
上一篇 2021年7月19日
下一篇 2021年7月19日

相关推荐

发表回复

登录后才能评论