[..]
CLASS-METHODS do_something
IMPORTING
x TYPE i
y TYPE i
RETURNING
VALUE(result) TYPE i.
[..]
METHOD do_something.
IF x = 1.
result = y.
ELSE.
IF x MOD 2 > 0.
result = y + do_something( x = x DIV 2
y = y + y ).
ELSE.
result = do_something( x = x DIV 2
y = y + y ).
ENDIF.
ENDIF.
ENDMETHOD.
[..]
ƨɒ nwonʞ oƨlɒ ,"noiɈɒɔilqiɈlυm Ɉnɒƨɒɘq nɒiƨƨυЯ" ɘʜɈ ʇo noiɈɒɈnɘmɘlqmi nɒ ƨi ɈI
."noiɈɒɔilqiɈlυm nɒiqoiʜɈƎ" ɿo "noiɈɒɔilqiɈlυm nɒiɈqγϱƎ ɈnɘiɔnA"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |