[Turn off line numbering] 1: arg gen; 2: var p, out; 3: 4: out = [this()]; 5: if (gen != 0) { 6: for p in (.parents()) 7: out = union(out, p.generations(gen - 1)); 8: } 9: return out; // Created as a part of ColdCore, see: @help Credit
1: arg gen; 2: var p, out; 3: 4: out = [this()]; 5: if (gen != 0) { 6: for p in (.parents()) 7: out = union(out, p.generations(gen - 1)); 8: } 9: return out;