I see code like this all over my ABAP:
and I figure it is some error checking because it has below itCode:IF sy-subrc <> 0.
What are the other codes? Is this an error handling method?Code:* error handling
I'm assuming *'s mean comment but you can't use them in the middle of a line like
Code:do code ... * my code
Hi >> Saint
Yes, this is an error handling code. If it is 0 you have no errors. Double click on it for more info.
* are comments, only from the start of the line.
sy-subrc is a system field which is the return code. ABAP programs will set this to 0 if execution is successfull or != (<>, not equal) 0 if otherwise.
Code:for (int i;;) { cout << "Smith"; }
There are currently 4 users browsing this thread. (0 members and 4 guests)
Bookmarks