[Turn off line numbering]1: arg s; 2: var part, out, short, method, args; 3: 4: [short, [method, args]] = s; 5: out = ""; 6: for part in (args) { 7: if (type(part) == 'string) 8: out += (out ? ", \"" : "\"") + part + "\""; 9: else 10: out += (out ? ", " : "") + "%" + part; 11: } 12: out = "." + method + "(" + out + ")"; 13: short = .recard_shortcut(short); 14: return ("\"" + short + "\"").left(10) + " => " + out;
// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit