aboutsummaryrefslogtreecommitdiff
path: root/project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java
diff options
context:
space:
mode:
authorJoshua Rahm <joshua.rahm@colorado.edu>2015-01-27 18:40:32 -0700
committerJoshua Rahm <joshua.rahm@colorado.edu>2015-01-27 18:40:32 -0700
commit5f3fb9afece2125cbeba79d61a8d88460b7878d7 (patch)
treeb0e1e60bae9927a9449561bf7fe9431a54d12be9 /project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java
downloadLegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.tar.gz
LegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.tar.bz2
LegacyQBar-5f3fb9afece2125cbeba79d61a8d88460b7878d7.zip
initial commit
Diffstat (limited to 'project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java')
-rw-r--r--project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java b/project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java
new file mode 100644
index 0000000..86649a7
--- /dev/null
+++ b/project/QBarInterpreter/src/com/modulus/qbar/lang/QBSystem.java
@@ -0,0 +1,11 @@
+package com.modulus.qbar.lang;
+
+public class QBSystem {
+ public static int time(){
+ return (int) System.currentTimeMillis();
+ }
+
+ public static void exit( int status ){
+ System.exit( status );
+ }
+}