DEADSOFTWARE

Добавлен тип CHAR
[dsw-obn.git] / rtl / Out.java
index 309578afe881cccdb7078a6bc2cdca151fcb0bf8..429d3214773b9b27fdf8974fa98e1f193e1fec00 100644 (file)
@@ -7,6 +7,21 @@ public class Out
 
        }
 
+       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);