User Guide

sin() 543
shutDown()
Usage
-- Lingo syntax
_system.shutDown()
// JavaScript syntax
_system.shutDown();
Description
System method; closes all open applications and turns off the computer.
Parameters
None.
Example
This statement checks whether the user has pressed Control+S (Windows) or Command+S
(Macintosh) and, if so, shuts down the computer:
See also
System
sin()
Usage
sin(angle)
Description
Math function (Lingo only); calculates the sine of the specified angle. The angle must be
expressed in radians as a floating-point number.
In JavaScript syntax, use the Math object’s
sin() function.
Parameters
angle
Required. Specifies the angle.
Example
This statement calculates the sine of pi/2:
put sin (PI/2.0)
-- 1
See also
PI