automate tuple creation
forkit
forkit at gmail.com
Thu Jan 20 00:12:56 UTC 2022
On Wednesday, 19 January 2022 at 21:59:15 UTC, forkit wrote:
>
so at the moment i can get a set number of tuples, with a set
number of bool values contained within each tuple.
e.g.
createBoolMatrix(mArrBool,3, 2);
[[1, 0], [1, 1], [1, 0]]
my next challenge (more for myself, but happy for input)..
is to enhance this to an return an associative array:
e.g
createBoolAssociativeMatrix(mArrBool,3, 2);
[ [1000:[1, 0]], [1001:[1, 1]], [1001:[1, 0]]]
where 1000 is some random id...
More information about the Digitalmars-d-learn
mailing list