mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
make arrays an object
This commit is contained in:
11
example.ar
11
example.ar
@@ -1,8 +1,5 @@
|
||||
i = 0
|
||||
output = []
|
||||
x = map()
|
||||
x.poo = 10
|
||||
|
||||
while (i < 1000) do
|
||||
output = append(output, i)
|
||||
i = i + 1
|
||||
|
||||
file.write('output.json').json(output)
|
||||
y = [x,x,x]
|
||||
term.log(y)
|
||||
Reference in New Issue
Block a user