[FEAT] Arrays allowed on structs

This commit is contained in:
2021-05-04 16:35:47 +02:00
parent 7297215aeb
commit 2ff14cd2f1
2 changed files with 13 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
' Esto es un comentario
struct point
x as number
y as number
y as array of 5 number
end
struct triangle
@@ -11,4 +11,4 @@ struct triangle
end
var peiv as array of 2 triangle
const perico as number = 4-peiv[1].a.x
const perico as number = 4-peiv[1].a.x * peiv[0].c.y[2]