1
0

多次元配列を実�

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

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);