DEADSOFTWARE

99899776c45ad838e94f8649f1d6fe9bd2049e54
[dsw-obn.git] / rtl / Out.java
1 import java.lang.System;
3 public class Out
4 {
5 public static void Open()
6 {
8 }
10 public static void Char(byte ch)
11 {
12 System.out.write(ch);
13 }
15 public static void String(byte[] str)
16 {
17 int i = 0;
18 while(str[i] != 0)
19 {
20 i += 1;
21 }
22 System.out.write(str, 0, i);
23 }
25 public static void Int(long i, short n)
26 {
27 System.out.print(i);
28 }
30 public static void Real(float x, short n)
31 {
32 System.out.print(x);
33 }
35 public static void LongReal(double x, short n)
36 {
37 System.out.print(x);
38 }
40 public static void Ln()
41 {
42 System.out.println();
43 }
44 }