I tried to emulate someting like a matrix with the Latex3 "objects". It seems like I can nest prop "objects"
into a tl "object"
-- at least it does not throw an error.
However, I have no idea how I can access them again.
\ExplSyntaxOn
\tl_new:N \l_my_array_tl
\prop_new:N \l_my_dict_prop
\prop_new:N \l_my_dict_two_prop
% define a prop "object"
\prop_set_from_keyval:Nn \l_my_dict_prop {val1=some~value, val2=another~value, val3=a~third~value}
% put prop "objects" into the tl "object"
\tl_put_right:NV \l_my_array_tl \l_my_dict_prop
\tl_put_right:NV \l_my_array_tl \l_my_dict_prop
% now i am lost. How can I access the prop "object" from the tl "object"
% is this even possible? I'd like to save \tl_item:N \l_my_array_tl in \l_my_dict_two_prop
\ExplSyntaxOff
Is there a way of achieving such a matrix emulation?
V
. You get the inner structure inside the \tl-var and that is not usable for you.V
should only be used with variables with simple values inside.starray
package. Also this question