RosettaCodeData/Task/Introspection/E/introspection-3.e
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

5 lines
98 B
Text

{
var sum := 0
for &x in interp.getTopScope() { sum += try { x :int } catch _ { 0 } }
sum
}