DEADSOFTWARE

Добавлен тип CHAR
[dsw-obn.git] / rtl / Out.java
index ca773d2c167f858dc7def8fd7d72977e57233791..429d3214773b9b27fdf8974fa98e1f193e1fec00 100644 (file)
@@ -7,7 +7,22 @@ public class Out
 
        }
 
-       public static void Int(int i, int n)
+       public static void Char(byte ch)
+       {
+               System.out.write(ch);
+       }
+
+       public static void String(byte[] str)
+       {
+               int i = 0;
+               while(str[i] != 0)
+               {
+                       i += 1;
+               }
+               System.out.write(str, 0, i);
+       }
+
+       public static void Int(long i, long n)
        {
                System.out.print(i);
        }
@@ -17,6 +32,11 @@ public class Out
                System.out.print(x);
        }
 
+       public static void LongReal(double x, int n)
+       {
+               System.out.print(x);
+       }
+
        public static void Ln()
        {
                System.out.println();