- p.put (MSymbol.t, sym1);
- p.push (MSymbol.t, sym2);
-
- MPlist pp = new MPlist ();
- pp.put (MSymbol.t, p);
- Console.WriteLine (pp.ToString ());
- Console.WriteLine (p.get (MSymbol.t));
- }
-
- static void mtext_test ()
- {
- MText mt;
-
- Console.WriteLine ("### MText test ###");
- mt = new MText ("abc");
- Console.WriteLine (mt);
- Console.WriteLine (mt + new MText ("def"));
- mt += new MText ("ghi");
- Console.WriteLine (mt);
- }
-
- static void mtext_property_test ()
- {
- Console.WriteLine ("### MTextProperty test ###");
- }
-
- public static void Main()
- {
- symbol_test ();
- mtext_test ();
- mtext_property_test ();
+ public static void DebugPrint (string fmt, params object[] arg)
+ {
+ if (debug)
+ Console.Write (fmt, arg);
+ }