• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Lingo and Lists > Understanding lists

Understanding lists

Having a thorough understanding of lists is your key to unlocking Lingo's advanced functions. That's not because lists are all that powerful or impressive in themselves; rather, it's because well-written list scripts are a vital ingredient in managing multiple windows, content, data, parent and child objects, and a host of other things you'll find yourself wanting to keep track of. Without lists, ambitions breed complications that inevitably cause performance problems and even outright bugs.

What is a list?

Simply put, a list is a kind of variable, which is like a bucket of data that you can pour out and dip into at any point in your movie. The variables you've encountered thus far can hold only one value at a time. For example, myVariable could contain "Jason" or "butterscotch" or 3.1415, but the only way it could contain all three at once is by melding them into a whole ["Jasonbutterscotch3.1415"]. A list is a means of handling values as a unit without losing track of their individual identities.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint