Lingo Dictionary > L-N > number (system property) |  |

number (system property)

Syntax

    the number of castLibs

Description

System property; returns the number of casts that are in the current movie.

This property can be tested but not set.

Example

This repeat loop uses the Message window to display the number of cast members that are in each of the movie's casts:

    repeat with n = 1 to the number of castLibs
    	put castLib(n).name && "contains" && the number of \
    	members of castLib(n) && "cast members."
    end repeat