blob: d0836e7ad5d734aa83c3dee7db5e3e99e4f3ba66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
Import qbar/io/IO.qbar;
-{
This namespace holds many raw and basic
functions that the user may want to use.
This Namespace is for the most part native.
}-
Namespace System {
-- incorporate the native QBSystem class
Incorporate Native com.modulus.qbar.lang.QBSystem;
let construct = do {
this.out <- IO.getStdOut();
this.in <- IO.getStdIn();
this.err <- IO.getStdErr();
this.bufferedIn <- IO.new BufferedReader( this.in );
}
let printStrLn( str ) =
this.out.printStrLn( str );
let printStr( str ) =
this.out.printStr( str );
let readLine =
this.bufferedIn.readLine();
}
|