Method code for $dictionary.invert()

[Turn off line numbering]
  1: arg dict;
  2: var x;
  3: 
  4: // Invert a dict keys and values
  5: return hash x in (dict) to ([x[2], x[1]]);

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

Tlon