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;
 }