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()]);

// $#Edited: 19 Jul 98 17:51 $user_sean

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

the Cold Dark