Method code for $root.descendants()

[Turn on line numbering]
var kids, i, c, child, d;

d = #[];
for child in (children()) {
    d = dict_add(d, child, 1);
    refresh();
}
while ((| (c = dict_keys(d)[++i]) |)) {
    catch ~objnf {
        for child in (c.children()) {
            pause();
            d = dict_add(d, child, 1);
        }
        pause();
    }
}
return dict_keys(d);

// $#Edited: 24 Jun 03 16:15 $brandon
// $#Edited: 08 Jul 17 20:04 $brandon

["// Created as a part of ColdCore, see: @help Credit"]

the Cold Dark