summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PersistentArray.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/runtime/PersistentArray.cs')
-rw-r--r--src/cli/runtime/PersistentArray.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/runtime/PersistentArray.cs b/src/cli/runtime/PersistentArray.cs
index 73b7a369..2cabe49e 100644
--- a/src/cli/runtime/PersistentArray.cs
+++ b/src/cli/runtime/PersistentArray.cs
@@ -257,6 +257,10 @@ public PersistentArray(IArray init) :this(init.length()) {
data.master.load = load;
}
+virtual public int count(){
+return data.master.array.Length;
+}
+
virtual public int length(){
return data.master.array.Length;
}