Hi Steve,
On Thursday 22 January 2009 14:27:44 Steve Kinder wrote:
I have seen what may be a bug with vdct when using quoted strings in
fields. This has occured when using these strings in the calc fields of
scalcout records. As an example using calcs like A=6?0:dbl(AA["X ","Z"]).
vdct saves this as field(CALC, "A=6?0:dbl(AA[\"X \",\"Z\"])"). Fine.
However when running vdct again and loading these fields back in they all
seem to be truncated after the first \.
Not sure there will be an easy workaround this. I believe the quotes
within
the field are necessary. Just wanted to report it somewhere as it seems
like a bug.
It looks like the scalcout record understands both single- and
double-quoted
strings, so try using this for your expression instead:
A=6?0:dbl(AA['X ','Z'])
- Andrew
--
The best FOSS code is written to be read by other humans -- Harold Welte