Method code for $integer._range_type()

[Turn on line numbering]
arg type;

switch (type) {
    case "0" .. "9":
        return toint(type);
    case "$":
        return 'end;
    case ".":
        return 'cur;
    case "#", "^":
        return 'bgn;
    default:
        throw(~invrange, "Invalid range character \"" + type + "\".", type);
}

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

the Cold Dark