Method code for $list.vcolumnize2()

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

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

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

Tlon