User Guide
number (characters) 893
Example
This statement sets the normals property of the fifth face of the model resource named Player to
a list of integer values:
member(“3D”).modelResource(“Player”).face[5].normals = [2,32,14]
See also
face, normalList, vertices
number (Cast)
Usage
-- Lingo syntax
castObjRef.number
// JavaScript syntax
castObjRef.number;
Description
Cast library property; returns the number of a specified cast library. Read-only.
Example
This repeat loop uses the Message window to display the number of cast members that are in each
of the movie’s casts:
-- Lingo syntax
repeat with n = 1 to _movie.castLib.count
put(castLib(n).name && "contains" && castLib(n).member.count \
&& "cast members.")
end repeat
// JavaScript syntax
for (var n=1; n<=_movie.castLib.count; n++) {
put(castLib(n).name + " contains " + castLib(n).member.count
+ " cast members.")
}
See also
Cast Library
number (characters)
Usage
the number of chars in chunkExpression
Description
Chunk expression; returns a count of the characters in a chunk expression.
Chunk expressions are any character (including spaces and control characters such as tabs and
carriage returns), word, item, or line in any container of characters. Containers include field cast
members and variables that hold strings, and specified characters, words, items, lines, and ranges
in containers.
Note: The count() function provides a more efficient alternative for determining the number of
characters in a chunk expression.