Method code for $dictionary.apply()

[Turn off line numbering]
  1: arg tdict, list;
  2: var x;
  3: 
  4: // Apply a translation-dict to a list
  5: for x in [1 .. list.length()] {
  6:     catch ~keynf
  7:         list = list.replace(x, tdict[list[x]]);
  8: }
  9: return list;

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon