Am 02.06.2021 um 00:45 schrieb Sven Schreiber:
Secondly, however, if I want to stuff such a single string into a
bundle
as an array, I get an error:
<hansl>
bundle b = null
strings b.S = "A" # error: expected strings, got string
</hansl>
Note that doing this without the bundle works fine, as expected:
<hansl>
strings aS = "A"
print aS # gives 1-element strings array
</hansl>
Another dangling thread...
Is the first thing a bug? Not sure, as in principle you might say that
the second thing isn't really supported, we just got lucky. Might be a
good time to clarify it now before the release.
Haven't checked whether other arrays (matrices...) have the same
problem.
The same behavior appears with a matrices array (combined with a bundle
as above). Haven't tried with an array of bundles, but I would assume
the same happens there.
thanks
sven