report list with zero element - zl len
Hello,
zl len works great but it doesn't do anything when the list is empty.
Is there a way to report a list with no element?
thanks
Florent
looks like my question is stupid and a list with 0 element is not really a thing
I've found a workaround
a "list with zero elements" is a _symbol with "list" as argument, if am not mistaken (i am away from max...)
thanks Roman, not sure I really understand what you mean.
i mean that "list nothing" is in fact "symbol list", which is why zl cant operate on it, because "symbol list" is not even a valid symbol. (if it is right is another question.) where the heck do you get "list nothing" from anyway? :D
thanks! that's helpful
haha. I'm storing a list in a message object corresponding to elements checked by the end-user. If no element is checked, the list is empty (message object is just cleared).