'Create an operand token.'

@classmethod
def make_operand(cls, value):

    if value.startswith('"'):
        subtype = cls.TEXT
    elif value.startswith('#'):
        subtype = cls.ERROR
    elif (value in ('TRUE', 'FALSE')):
        subtype = cls.LOGICAL
    else:
        try:
            float(value)
            subtype = cls.NUMBER
        except ValueError:
            subtype = cls.RANGE
    return cls(value, cls.OPERAND, subtype)
