Implement GSAVE

This commit is contained in:
otya128 committed 2016-12-13 23:24:44 +09:00
1 parent 51f6168e9f
commit 5cee75af6f
3 files changed
+97 -2

No files matched your search

+9
View File
@@ -388,5 +388,14 @@ class Array(T)
array ~= v;
dim[0]++;
}
@property void length(int size)
{
if (dimCount != 1)
{
throw new TypeMismatch();
}
array.length = size;
dim[0] = size;
}
}