O'Reilly logo

Lingo in a Nutshell by Bruce A. Epstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Other Lingo Commands That Use Lists

Many Lingo commands and properties return or require linear lists, property lists, rects, and points. Refer to Chapter 5 in Director in a Nutshell for a detailed list of commands using rects and points.

Linear Lists

The following Lingo commands use true Lingo linear lists (not property lists). These can be manipulated like any other Lingo list, although many can be only read, not set.

the alertHook [2] (can assign to a list of script instances)
the actorList (list of objects)
the castMemberList of member [2] (list of members for Custom Cursor Xtra)
the cuePointNames of member [2] (list of strings)
the cuePointTimes of member [2] (list of integers)
the cursor of sprite (list of one or two 1-bit cast members)
cursor (list of one or two 1-bit cast members)
the deskTopRectList (list of rects)
the scoreSelection (list of lists that has changed format in D6)
the searchPath (list of strings)
the searchPaths ( list of strings)
the selection of castLib (list of lists)
the windowList (list of windows)
the scriptInstanceList of sprite [2] (list of script instances)

Property Lists

The following Lingo functions use true Lingo property lists (not linear lists). These lists can be manipulated like any other Lingo list.

These two handlers both return property lists that describe the parameters used in a Behavior. The author of a Behavior must define these lists in these handlers. Director asks for them when needed (see Chapter 12).

on getPropertyDescriptionList ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required