Change back symbols for arrays to []
In current version of FlosScript {} symbol is used for declaring arrays(Pic A), inside IF and FOR loops(Pic B) and to showcase when Flowscript will be used(Pic C).
I think, using same symbol for everything makes it's purpose unclear and can cause unnecessary confusion. Was change from [] to {} for array declaration cause by some real need?
Hi, this is how FlowScript works today, so this request appears to be outdated. I’ll mark it as completed.
let values = [1, 2, 3];
for value in values {
// block
}
let record = { name: 'test', value: 1 };
-
AdminOla Carlander
(Admin, Novacura)
commented
Hi, this is the way it is. Probably just an old request? I will close it
let values = [1, 2, 3];
for value in values {
// block
}let record = { name: 'test', value: 1 };