e.g.
Code Select
my %dict = (name=> 'Aragorn' , alias=> 'Strider');
while(($key, $val) = each %dict)
{
print "key = $key, value = $valn";
}
Python and Ruby have similar constructs.
How can this be done in newlisp? dotree would visit all symbols in the underlying context, even those that are not keys of the dictionary.