[Turn off line numbering]1: arg trie, @prefix; 2: var n, i, l; 3: 4: [(prefix ?= "")] = prefix; 5: l = trie[1] ? [prefix + trie[1][1]] : []; 6: if (trie[2]) { 7: for i in [1 .. trie[2].length()] 8: l += .keys(trie[2 + i], prefix + trie[2][i]); 9: refresh(); 10: } 11: return l;
// Miroslav Silovic
// Created 10-May-1995 as a part of ColdCore, see: @help Credit