Closed guillaume-dorczynski closed 10 years ago
for(number X = 1;X <=#teams()+1;X++){
print(X)
}
this prints 1. so confirmed I guess..
The issue is with the table arrays. When I was testing gmatch()
in lemongate and set return type to table arrays, it gave similar errors. When I changed gmatch()
return type to regular tables it worked perfectly.
This function was never converted properly, it will be fixed in next commit.
Previously I was able to do that:
Now since you added arrays, teams() doesn't return a table but an array of table. so this code produce an error:
It may be a mistake, or it may be intentional but in this case I have no idea how to iterate these. This print nothing: