Introspection: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: 'rm -rf /' in 'eval' is not funny, and off-topic anyhow, removed) |
No edit summary |
||
Line 860: | Line 860: | ||
Io can also inspect the source code of methods written in Io: |
Io can also inspect the source code of methods written in Io: |
||
<lang io>getSlot("arbitraryMethod") code</lang> |
<lang io>getSlot("arbitraryMethod") code</lang> |
||
=={{header|IS-BASIC}}== |
|||
<lang IS-BASIC>100 IF VERNUM<2.1 THEN PRINT "Version is too old.":STOP |
|||
110 WHEN EXCEPTION USE ERROR |
|||
120 PRINT ABS(BLOOP) |
|||
130 END WHEN |
|||
140 HANDLER ERROR |
|||
150 PRINT EXSTRING$(EXTYPE) |
|||
160 CONTINUE |
|||
170 END HANDLER</lang> |
|||
=={{header|J}}== |
=={{header|J}}== |