Method code for $command_lib.unparse_shortcut()

[Turn on line numbering]
arg s;
var part, line, short, method, args, x;

line = "";
[short, [method, args]] = s;
for part in (args) {
    if (type(part) == 'string)
        line += part;
    else
        line += "%" + part;
}
short = .recard_shortcut(short);
return ("\"" + short + "\"").left(10) + " => \"" + line + "\"";

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

Tlon