Method code for $list.vcolumnize()

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