Method code for $command_lib.unparse_shortcut()

[Turn off line numbering]
  1: arg s;
  2: var part, line, short, method, args, x;
  3: 
  4: line = "";
  5: [short, [method, args]] = s;
  6: for part in (args) {
  7:     if (type(part) == 'string)
  8:         line += part;
  9:     else
 10:         line += "%" + part;
 11: }
 12: short = .recard_shortcut(short);
 13: return ("\"" + short + "\"").left(10) + " => \"" + line + "\"";

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

Tlon