'Write a variable definition that is a list of values.
E.g. WriteList([\'a\',\'b\'], \'foo\', prefix=\'blah\') writes out
foo = blaha blahb
but in a pretty-printed style.'

def WriteList(self, value_list, variable=None, prefix='', quoter=QuoteIfNecessary):

    values = ''
    if value_list:
        value_list = [quoter((prefix + l)) for l in value_list]
        values = ('    \\\n DCTB ' + '    \\\n DCTB '.join(value_list))
    self.fp.write(('%s    :=%s\n\n' % (variable, values)))
