public Object println(Object arg) { #if WINDOWS_APP Debug.WriteLine(FlowRuntime.toString(arg)); #else Console.WriteLine(FlowRuntime.toString(arg)); #endif return(null); }
public override String ToString() { StringBuilder buf = new StringBuilder(); String name = getTypeName(); buf.Append(name); if (name == "DLink") { buf.Append("(...)"); return(buf.ToString()); } buf.Append('('); RuntimeType[] types = getFieldTypes(); Object[] values = getFields(); for (int i = 0; i < values.Length; i++) { if (i > 0) { buf.Append(", "); } if (types[i] == RuntimeType.DOUBLE && (values[i] is int || values[i] is double)) { buf.Append(FlowRuntime.doubleToStringWithDot((double)values[i])); } else { buf.Append(FlowRuntime.toString(values[i])); } } buf.Append(')'); return(buf.ToString()); }
public String toString(Object value) { return(FlowRuntime.toString(value)); }
public override String ToString() { return("ref " + FlowRuntime.toString(value)); }