what is nth and mth in the zl object ...

Per's icon

Hi!

short question.

what does the nth and mth stand for in the zl object??

its some kind of mathematical expression I guess but what does it mean?

thanks

jvkr's icon

The n of nth can be replaced with a number e.g. 5 -> 5th, or 12 -> 12th. The object [zl nth 5] will then give you the 5th item of a list. The function mth starts counting at 0, so [zl meh 5] will give you the 6th item of a list.