print() public method

public print ( ) : void
return void
Ejemplo n.º 1
0
        public void prompt(IoState state)
        {
            IoObject result = null;

            processBootstrap();
            while (true)
            {
                Console.Write("Io> ");
                string s = Console.ReadLine();
                if (s.Equals("quit") || s.Equals("exit"))
                {
                    break;
                }
                result = onDoCStringWithLabel(lobby, s, "prompt:");
                Console.Write("==> ");
                if (result != null)
                {
                    result.print();
                }
                else
                {
                    Console.WriteLine("why null?");
                }
                Console.WriteLine();
            }
        }
Ejemplo n.º 2
0
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return(target);
 }
Ejemplo n.º 3
0
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return target;
 }
Ejemplo n.º 4
0
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return(target);
 }
Ejemplo n.º 5
0
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return target;
 }