Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: Qtn:Why we have to write the start-of-selection event in object oriented programme?

$
0
0

I believe your issue can be demonstrated using this snippet which does not compile without addition of start-of-selection.

  1. *----------------------------------------------------------------------*
  2. CLASS mainclass DEFINITION.
  3.   PUBLIC SECTION.
  4.     CLASS-METHODS main.
  5. ENDCLASS.                    "mainclass DEFINITION
  6. *----------------------------------------------------------------------*
  7. CLASS mainclass IMPLEMENTATION.
  8.   METHOD main.
  9.     WRITE 'hello'.
  10.   ENDMETHOD.                    "main
  11. ENDCLASS.                    "mainclass IMPLEMENTATION
  12. START-OF-SELECTION.
  13.   mainclass=>main( ).

/.


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>