User Guide
560 Chapter 12: Methods
Example
This statement checks whether the variable myVariable is a symbol:
put myVariable.symbolP
See also
ilk()
tan()
Usage
tan(angle)
Description
Math function; yields the tangent of the specified angle expressed in radians as a floating-point
number.
In JavaScript syntax, use the Math object’s
tan() function.
Parameters
angle
Required. Specifies the angle from which a tangent is yielded.
Example
The following function yields the tangent of pi/4:
tan (PI/4.0) = 1
The π symbol cannot be used in a Lingo expression.
See also
PI
tellStreamStatus()
Usage
tellStreamStatus(onOrOffBoolean)
Description
Function; turns the stream status handler on (TRUE) or off (FALSE).
The form
tellStreamStatus() determines the status of the handler.
When the
streamStatusHandler is TRUE, Internet streaming activity causes periodic calls to the
movie script, triggering streamStatusHandler. The handler is executed, with Director
automatically filling in the parameters with information regarding the progress of the downloads.
Parameters
onOrOffBoolean Optional. Specifies the status of the handler.