[erlang-questions] array:set
Fred Youhanaie
fly@REDACTED
Sun Mar 3 14:24:45 CET 2019
If your intention is to set the entire contents of the array, then you can use array:from_list/2, see the man page for details.
On 03/03/2019 12:55, Donald Steven wrote:
> Apparently, array:set can only be used on one index at a time, as in: array:set(?TRACK1, Track1, Sounds),
>
>
> I'd like to do the equivalent of (I made up the syntax): array:set(?TRACK1, Track1; ?TRACK2, Track2, ...; Sounds),
>
>
> Is my only option a recursive function making 2 lists and then going through them using hd(), tl()?
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list