Scalar Data Type

Declaration:

scalar <name> ( <expression> );

Reference:

<name>

Literal:

( <expression> )

or

<expression>

Purpose:

A scalar may be specified as a literal or as a variable. If specified as a variable, it must have a name. The only component of a scalar is its value.

Example:

scalar switch(OFF);

In version 7, to allow for faster processing and reduced SDL file sizes, animation curves that exhibit constant values will be written out as scalar values, not animation curves.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.