if (DEBUG) System.out.println("doing conditional "+arg+" "+op+" "+value[0]);
if (DEBUG) { if (value.length > 0) System.out.println("doing conditional "+arg+" "+op+" "+value[0]); else System.out.println("doing conditional "+arg+" "+op+" <NO ARGUMENT TOKEN FOUND>"); }
  void processCondRegion(Vector region) throws IOException {    // get var name, operation and data value    QuotedStringTokenizer pst = new QuotedStringTokenizer(params);    if (!pst.hasMoreTokens())       throw new IOException("Missing argument in IF");    String arg = pst.nextToken();    if (!pst.hasMoreTokens())       throw new IOException("Missing operation in IF");    String op = pst.nextToken();    String[] value = new String[pst.countTokens()];    for (int i = 0; i < value.length; i++)       value[i] = pst.nextToken();    if (DEBUG) System.out.println("doing conditional "+arg+" "+op+" "+value[0]);    // Evaluate conditional.    Vector newRegion = (Vector) region.elementAt(1);    if (!evaluateConditional(arg, op, value)) {      if (region.size() > 2)        newRegion = (Vector) region.elementAt(2);      else        newRegion = new Vector();      if (DEBUG) System.out.println("condition is false");    } else {      if (DEBUG) System.out.println("condition is true");    }    // Count through each line in region.    for (int j = 0; j < newRegion.size(); j++) {      try {        String currentLine = (String) newRegion.elementAt(j);        out.print(currentLine+"\n");      } catch (ClassCastException e) {        Vector tmpRegion = (Vector) newRegion.elementAt(j);        processTemplateRegion(tmpRegion);      }    } // for j  }