Method code for $dictionary.invert()

[Turn on line numbering]
arg dict;
var x;

// Invert a dict keys and values
return hash x in (dict) to ([x[2], x[1]]);

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

Tlon