Suggestion for help file

Post your questions and help other users.

Moderator: Martin

Post Reply
jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Suggestion for help file

Post by jazoom » 17 Sep 2014 03:25

I just read through a lot of the help documentation, including the whole section on lists, trying to find how to get an element from a list. I find it kinda funny that with all that amazing documentation the most basic function of a list isn't covered. Instead, there are heaps of examples of complete iteration over an entire list.

I thought you'd like to know.

Since I am an Android programmer I am GUESSING it's going to be list[0] if I want to access the first element in a list, since the rest of the scripting seems to follow Java pretty closely. I'll try it out and see if that's right.

jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Re: Suggestion for help file

Post by jazoom » 17 Sep 2014 03:32

Update: It didn't work. Neither did "get()". Now I'm stumped.

jazoom
Posts: 14
Joined: 14 Sep 2014 11:56

Re: Suggestion for help file

Post by jazoom » 17 Sep 2014 03:42

Okay, I've found the function getElement() by clicking on the "Variable" button at the bottom of the Script action screen and hunting through the list. It looks like this is what I've been searching for. :-)

Post Reply