Am 05.07.19 um 14:04 schrieb Sven Schreiber:
Am 05.07.2019 um 11:43 schrieb Artur Tarassow:
>
> b.L += FOO* # ERROR: "The symbol 'FOO' is undefined"
> eval b.L
> </hansl>
>
>
> I don't get why this shouldn't work.
>
Probably it should work, but notice that the asterisk "*" may confuse
the parser because it could also mean a multiplication operator. There
are two workarounds that seem to work:
True, the '*' may cause some confusion. But, if I remember correctly,
one cannot pass something like <list A = Series1*Series2>. Hence, I
cannot see a reason to interpret the asterisk as the multiplication
operator -- but maybe I am wrong ;-)
1) substitute the += assignment with something equivalent:
list b.L = b.L FOO*
2) Simply be more explicit by adding "list" at the start:
list b.L += FOO*
Thanks, Sven. I like the latter solution which works well.
Artur