Interestingly, this option fails when you have variables containing the numeric value of 0. Variables of 0 get written out with the variables=on switch just fine.
Tested in 8.3.1+432 and 8.3.0+340:
]acre.version
Acre 8.3.1+342 2022-03-15 22.49
a ← 0
b ← 1
c ← ⍳10
]acre.CreateProject C:\tmp\at1 # -variables=binary
#
)CLEAR
clear ws
]acre.OpenProject C:\tmp\at1
Please wait - Reading 3 files from C:/tmp/at1
.binary #.b fixed as .apla #.b
.binary #.c fixed as .apla #.c
#
)VARS
b c
a never made it to disk!
Looks like the problem is in acre._code.createProject[24]
fqn←⊃dat putSource raw getValue fqn
If we look at the first result of getValue, when we give a left arg of 1 (means raw), a is not returned.
Interestingly, this option fails when you have variables containing the numeric value of 0. Variables of 0 get written out with the variables=on switch just fine.
Tested in 8.3.1+432 and 8.3.0+340:
Acre 8.3.1+342 2022-03-15 22.49
# )CLEAR clear ws
Please wait - Reading 3 files from C:/tmp/at1 .binary #.b fixed as .apla #.b .binary #.c fixed as .apla #.c # )VARS b c
a
never made it to disk!Looks like the problem is in acre._code.createProject[24]
fqn←⊃dat putSource raw getValue fqn
If we look at the first result ofgetValue
, when we give a left arg of 1 (means raw),a
is not returned..b #.c #.quadVars
.a #.b #.c #.quadVars