public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[SHARED FORMULA (").append(HexDump.intToHex(sid)).append("]\n");buffer.append("    .range      = ").append(getRange()).append("\n");buffer.append("    .reserved    = ").append(HexDump.shortToHex(field_5_reserved)).append("\n");Ptg[] ptgs = field_7_parsed_expr.getTokens();for (int k = 0; k < ptgs.length; k++ ) {buffer.append("Formula[").append(k).append("]");Ptg ptg = ptgs[k];buffer.append(ptg).append(ptg.getRVAType()).append("\n");}buffer.append("[/SHARED FORMULA]\n");return buffer.toString();}

public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[SHARED FORMULA (" ) . append ( HexDump . intToHex ( sid ) ) . append ( "]\n" ) ; buffer . append ( "    .range      = " ) . append ( getRange ( ) ) . append ( "\n" ) ; buffer . append ( "    .reserved    = " ) . append ( HexDump . shortToHex ( field_5_reserved ) ) . append ( "\n" ) ; Ptg [ ] ptgs = field_7_parsed_expr . getTokens ( ) ; for ( int k = 0 ; k < ptgs . length ; k ++ ) { buffer . append ( "Formula[" ) . append ( k ) . append ( "]" ) ; Ptg ptg = ptgs [ k ] ; buffer . append ( ptg ) . append ( ptg . getRVAType ( ) ) . append ( "\n" ) ; } buffer . append ( "[/SHARED FORMULA]\n" ) ; return buffer . toString ( ) ; }
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SHARED FORMULA (").Append(HexDump.IntToHex(sid)).Append("]\n");buffer.Append("    .range      = ").Append(Range.ToString()).Append("\n");buffer.Append("    .reserved    = ").Append(HexDump.ShortToHex(field_5_reserved)).Append("\n");Ptg[] ptgs = field_7_parsed_expr.Tokens;for (int k = 0; k < ptgs.Length; k++){buffer.Append("Formula[").Append(k).Append("]");Ptg ptg = ptgs[k];buffer.Append(ptg.ToString()).Append(ptg.RVAType).Append("\n");}buffer.Append("[/SHARED FORMULA]\n");return buffer.ToString();}
