'Returns the opening statements of the routine.'

def _get_routine_opening(self, routine):

    code_list = []
    code_list.append('function    ')
    args = []
    for (i, arg) in enumerate(routine.arguments):
        if isinstance(arg, OutputArgument):
            raise CodeGenError(('Julia:    invalid    argument    of    type    %s' % str(type(arg))))
        if isinstance(arg, (InputArgument, InOutArgument)):
            args.append(('%s' % self._get_symbol(arg.name)))
    args = ',    '.join(args)
    code_list.append(('%s(%s)\n' % (routine.name, args)))
    code_list = [''.join(code_list)]
    return code_list
