Popular Posts
CookSwing CookSwing is a library which builds Java Swing GUI from XML documents. It is under continuously active development, since I make a living by... javax.net.ssl.SSLHandshakeException: Connection closed by peer in Android 5.0 Lollipop Recently, there is a error occurs when access website via ssl connection like below although it worked fine several days ago. // Enable SSL... ListSelectionListener & ItemListener import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Toolkit; import java.awt.event.ItemEvent; import java.awt.event.ItemL...
Stats
Flow control: loop (while)
data: NUM type I,
      STR(1).

while SY-INDEX < 10.
  STR = SY-INDEX.
  NUM = NUM + SY-INDEX.
  if SY-INDEX > 1.
    write '+'.
  endif.
  write STR.
endwhile.

write: '=', NUM.
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 =          45