Introspection: Difference between revisions
Content added Content deleted
Line 876: | Line 876: | ||
*check whether the variable "bloop" exists and whether the math-function "abs()" is available and if yes compute abs(bloop). |
*check whether the variable "bloop" exists and whether the math-function "abs()" is available and if yes compute abs(bloop). |
||
<lang lingo>bloopExists = not voidP(value("bloop")) |
<lang lingo>bloopExists = not voidP(value("bloop")) |
||
absExists = value("abs(1)")=1 |
absExists = value("abs(1)")=1 |
||
if bloopExists and absExists then put abs(bloop) |
if bloopExists and absExists then put abs(bloop)</lang> |
||
*Report the number of integer variables in global scope, and their sum. |
*Report the number of integer variables in global scope, and their sum. |