Download SIMSCRIPT II.5 User`s Manual

Transcript
Standard SIMSCRIPT II.5 Names
Arguments:
arg1 An integer value.
arg2 An integer value.
Description: Returns the value of arg1 shifted left arg2 bit positions.
Mode: Integer
Function shr.f (arg1, arg2)
Arguments:
arg1 An integer value.
arg2 An integer value.
Description:
Returns the value of arg1 shifted right arg2 bit positions.
Mode:
Integer
Function sign.f (arg)
Arguments:
arg
A double value.
Description:
Returns +1 if arg is positive, -1 if arg is negative, and 0 if arg is zero.
Mode:
Integer
Function sin.f (arg)
Arguments:
arg
A double value specifying an angle in radians.
Description:
Returns the sine of arg.
Mode:
Double
Routine sleep.r (time)
Arguments:
time
A double value specifying time in seconds.
Description:
Suspends execution of your program for a specified time period. Implemented
on VMS platforms only.
Routine snap.r
Arguments:
None
Description:
User-supplied snapshot routine that is called when a runtime error is detected.
109