/* $Id: ArgumentList,v 1.2 2008/11/28 19:57:34 kiesling Exp $ -*-C-*-*/

/*
  This file is part of ctalk.
  Copyright  2005-2008  Robert Kiesling, ctalk@ctalklang.org.
  Permission is granted to copy this software provided that this copyright
  notice is included in all source code modules.

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
*/

/*
 *   ArgumentList class.  Used for variable number of arguments,
 *   and is mainly a no-op in this version.
 */

Object class ArgumentList;

Character instanceMethod asString (void) {
  String new resultString;
  returnObjectClass String;
  if ((self is Character) || 
      (self is Integer)) {
    resultString printOn "%c", self;
  } else {
    resultString printOn "%s", self;
  }
  methodReturnObject (resultString);
}
