Popular Posts
Redirect webpart in sanboxed solution using System; using System.ComponentModel; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebCo... Page load event handler on sharepoint <script type="text/javascript">     _spBodyOnLoadFunctionNames.push("onPageLoadAction");     function onPageLoadA... Fix for SharePoint 2010 scrolling problems for Chrome Execute on page loaded function bodyOnLoadWrapperForChrome() {     //verify we have finished loading init.js     if (typeof (_spBodyOnLoadW...
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