public static String displayOutputs(Set<String> outputNames,LocalVariableMap symbolTable){
  StringBuilder sb=new StringBuilder();
  if (outputNames.isEmpty()) {
    sb.append("None\n");
  }
 else {
    int count=0;
    for (    String outputName : outputNames) {
      sb.append("  [");
      sb.append(++count);
      sb.append("] ");
      if (symbolTable.get(outputName) != null) {
        sb.append("(");
        sb.append(determineOutputTypeAsString(symbolTable,outputName));
        sb.append(") ");
      }
      sb.append(outputName);
      if (symbolTable.get(outputName) != null) {
        sb.append(": ");
        sb.append(symbolTable.get(outputName));
      }
      sb.append("\n");
    }
  }
  return sb.toString();
}

public static String displayOutputs ( Set < String > outputNames , LocalVariableMap symbolTable ) { StringBuilder sb = new StringBuilder ( ) ; if ( outputNames . isEmpty ( ) ) { sb . append ( "None\n" ) ; } else { int count = 0 ; for ( String outputName : outputNames ) { sb . append ( "  [" ) ; sb . append ( ++ count ) ; sb . append ( "] " ) ; if ( symbolTable . get ( outputName ) != null ) { sb . append ( "(" ) ; sb . append ( determineOutputTypeAsString ( symbolTable , outputName ) ) ; sb . append ( ") " ) ; } sb . append ( outputName ) ; if ( symbolTable . get ( outputName ) != null ) { sb . append ( ": " ) ; sb . append ( symbolTable . get ( outputName ) ) ; } sb . append ( "\n" ) ; } } return sb . toString ( ) ; }
obtain a display of the script outputs .
