Task

 verify the version/revision of your currently running (compiler/interpreter/byte-compiler/runtime environment/whatever your language uses) and exit if it is too old.
 check whether the variable "bloop" exists and whether the math-function "abs()" is available and if yes compute abs(bloop).


Extra credit

 Report the number of integer variables in global scope, and their sum.


/* NetRexx */
options replace format comments java crossref symbols binary
 
runSample(arg)
return
 
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
method runSample(arg) private static
  parse arg minVersion .
  if minVersion = '' then minVersion = 2.0
  parse version lang ver bdate
  if ver < minVersion then do
    say -
      lang 'version' ver -
      '[Build date:' bdate']' -
      'is less than' minVersion.format(null, 2)'; exiting...'
    exit
    end
  else do
    say -
      lang 'version' ver -
      '[Build date:' bdate']' -
      'meets minimum requirements of' minVersion.format(null, 2)
    end
  return
 