Method code for $list.vcolumnize2()

[Turn off line numbering]
  1: arg list, lines, @rest;
  2: var linelength, sep, cols, width, i, j, line, outlist;
  3: 
  4: [(linelength ?= (| sender().linelen() |) || 78), (sep ?= " ")] = rest;
  5: cols = list.length() / lines + (list.length() % lines ? 1 : 0);
  6: width = linelength / cols;
  7: return ._vcolumnize(list, lines, cols, width, sep);

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

Tlon