print() public method

public print ( ) : void
return void
Example #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();
            }
        }
Example #2
0
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return(target);
 }
Example #3
0
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return target;
 }
Example #4
0
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return(target);
 }
Example #5
0
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return target;
 }