Popular Posts
Translating 2.0 <html> <head>     <title>Translation 2.0</title>     <meta http-equiv="content-type" content="text... ROBOCOPY: Robust File Copy for Windows -------------------------------------------------------------------------------    ROBOCOPY     ::     Robust File Copy for Windows --------... Translating 1.3 <html> <head>     <title>Translating 1.1</title>     <meta http-equiv="content-type" content="text...
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