DEADSOFTWARE

Изменены размеры примитивных типов
[dsw-obn.git] / rtl / Out.java
index ca773d2c167f858dc7def8fd7d72977e57233791..99899776c45ad838e94f8649f1d6fe9bd2049e54 100644 (file)
@@ -7,12 +7,32 @@ 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, short n)
        {
                System.out.print(i);
        }
 
-       public static void Real(float x, int n)
+       public static void Real(float x, short n)
+       {
+               System.out.print(x);
+       }
+
+       public static void LongReal(double x, short n)
        {
                System.out.print(x);
        }