summaryrefslogtreecommitdiff
path: root/src/cli/runtime/RT.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/runtime/RT.cs')
-rw-r--r--src/cli/runtime/RT.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/runtime/RT.cs b/src/cli/runtime/RT.cs
index ed6bfffe..75d581f2 100644
--- a/src/cli/runtime/RT.cs
+++ b/src/cli/runtime/RT.cs
@@ -32,6 +32,10 @@ public class RT
chars[i] = (char)i;
}
+static public bool equal(Object k1,Object k2){
+ return k1 == k2 ||
+ (k1 != null && k1.Equals(k2));
+}
static public Object eq(Object arg1, Object arg2) {
return (arg1 == arg2)?T:null;
}