Method code for $list.to_english()

[Turn on line numbering]
arg list, @options;
var empty, and, sep;

[(empty ?= "nothing"), (and ?= " and "), (sep ?= ", ")] = options;
switch (list.length()) {
    case 0:
        return empty;
    case 1:
        return tostr(list[1]);
}
return join(list.delete(list.length()), sep) + and + tostr(list[list.length()]);

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

Tlon