Introspection: Difference between revisions

Content added Content deleted
m (added whitespace before the TOC, added an Extra credit (bold) header.)
Line 3: Line 3:
*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.
*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 <i>abs(bloop)</i>.
*check whether the variable "bloop" exists and whether the math-function "abs()" is available and if yes compute <i>abs(bloop)</i>.
'''Extra credit''':
* Report the number of integer variables in global scope, and their sum.



;Extra credit:
* Report the number of integer variables in global scope, and their sum.
<br><br>


=={{header|Ada}}==
=={{header|Ada}}==