print() public method

public print ( ) : void
return void
示例#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();
            }
        }
示例#2
0
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return(target);
 }
示例#3
0
文件: IoObject.cs 项目: devaspot/io
 public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     Console.WriteLine();
     return target;
 }
示例#4
0
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return(target);
 }
示例#5
0
文件: IoObject.cs 项目: devaspot/io
 public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m)
 {
     target.print();
     return target;
 }