Method code for $list.vcolumnize()

[Turn on line numbering]
arg list, cols, @rest;
var linelength, sep, width, lines, i, j, line, outlist;

[(linelength ?= (| sender().linelen() |) || 78), (sep ?= " ")] = rest;
lines = list.length() / cols + (list.length() % cols ? 1 : 0);
width = linelength / cols;
return ._vcolumnize(list, lines, cols, width, sep);

["// Created 26-Mar-1995 as a part of ColdCore, see: @help Credit"]

the Cold Dark