多次元配列を実�

This commit is contained in:
otya128 committed 2015-06-12 22:00:05 +09:00
1 parent fd74c8b071
commit f84c4d20e5
5 files changed
+14 -23

No files matched your search

+2 -2
View File
@@ -569,7 +569,7 @@ class PushArray : Code
override void execute(VM vm)
{
int[4] index;
for(int i = dim - 1; i >= 0; i--)
for(int i = 0; i < dim; i++)
{
Value v;
vm.pop(v);
@@ -636,7 +636,7 @@ class PopGArray : Code
throw new TypeMismatch();
}
int[4] index;
for(int i = 0; i < dim; i++)//for(int i = dim - 1; i >= 0; i--)
for(int i = 0; i < dim; i++)
{
Value v;
vm.pop(v);