public void startFunction(String name,String[] paramNames) throws IOException {
  String args=name + "(";
  if (paramNames != null) {
    for (int i=0; i < paramNames.length; i++) {
      if (i > 0) {
        args+=",";
      }
      args+=" " + paramNames[i];
    }
    if (paramNames.length > 0) {
      args+=" ";
    }
  }
  args+=")";
  printer.println();
  print("defineFunction",new String[]{args});
  print("{",null);
  indent+="    ";
}

public void startFunction ( String name , String [ ] paramNames ) throws IOException { String args = name + "(" ; if ( paramNames != null ) { for ( int i = 0 ; i < paramNames . length ; i ++ ) { if ( i > 0 ) { args += "," ; } args += " " + paramNames [ i ] ; } if ( paramNames . length > 0 ) { args += " " ; } } args += ")" ; printer . println ( ) ; print ( "defineFunction" , new String [ ] { args } ) ; print ( "{" , null ) ; indent += "    " ; }
description of the method
