Popular Posts
Generate subversion diff report using python bash: svn --diff-cmd "python" --extensions "diff_to_html.py" diff -r 596:671 diff_to_html.py import sys import diff... JSRequest, Get parameters from querystring with javascript in SharePoint Provides method to parse query string, filename, and pathname from URL // Initialize first JSRequest.EnsureSetup(); // Get the current fil... ROBOCOPY: Robust File Copy for Windows -------------------------------------------------------------------------------    ROBOCOPY     ::     Robust File Copy for Windows --------...
Stats
Flow control : if / case
if ... elseif ... else ... endif
data AGE type I value '12'.

if AGE < 0.
  write 'Illegal value'.
elseif AGE >= 0 and AGE < 18.
  write 'Sorry, this is adult only.'.
else.
  write 'Hi, wellcome.'.
endif.
case ... when .... when others ... endcase
data S(2) value 'F'.

case S.                      " case sensitive
  when 'F'.
    write / 'Hi, girl.'.
  when 'M'.
    write / 'Hi, boy.'.
  when others.
    write / 'Who it is?'.
endcase.