Implement GSAVE
This commit is contained in:
1 parent
51f6168e9f
commit
5cee75af6f
3 files changed
+97
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user