Script Functions
This Script Functions section provides Help on available global routines. These global routines are procedures and functions from the runtime library which are not part of a class, but can be called from script.
Abs
function abs(x) returns Integer
Description: Returns the absolute value of an integer.
AnsiCompareStr
function AnsiCompareStr(S1, S2) returns Integer
Description: AnsiCompareStr compares S1 to S2, with case sensitivity. The compare operation is controlled by the current locale. The return value is:
Condition Return Value
- S1 > S2 > 0
- S1 < S2 < 0
- S1 = S2 = 0
Most locales consider lowercase characters to be less than the corresponding uppercase characters. This is in contrast to ASCII order, in which lowercase characters are greater than uppercase characters.
AnsiCompareText
function AnsiCompareText(S1, S2) returns Integer
Description: AnsiCompareText compares S1 to S2, without case sensitivity. The compare operation is controlled by the current locale. AnsiCompareText returns a value less than 0 if S1 < S2, a value greater than 0 if S1 > S2, and returns 0 if S1 = S2.
AnsiLowerCase
function AnsiLowerCase(S) returns String
Description: AnsiLowerCase returns a string that is a copy of the given string converted to lower case. The conversion uses the current locale. This function supports multi-byte character sets.
AnsiUpperCase
function AnsiUpperCase(S) returns String
Description: AnsiUpperCase returns a copy of S, converted to upper case. The conversion uses the current locale. This function supports multi-byte character sets.
ArcCos
function ArcCos(X) returns Number
Description: ArcCos returns the inverse cosine of X.
X must be between -1 and 1.
The return value is in the range [0..Pi], in radians.
ArcCosH
function ArcCosH(X) returns Number
Description: ArcCosH returns the inverse hyperbolic cosine of X. The value of X must be greater than or equal to 1.
ArcCot
function ArcCot(X) returns Number
Description: ArcCot returns the inverse cotangent of X.
ArcCotH
function ArcCotH(X) returns Number
Description: ArcCotH returns the inverse hyperbolic cotangent of X.
ArcCsc
function ArcCsc(X) returns Number
Description: ArcCsc returns the inverse cosecant of X.
ArcCscH
function ArcCscH(X) returns Number
Description: ArcCscH returns the inverse hyperbolic cosecant of X.
ArcSec
function ArcSec(X) returns Number
Description: ArcSec returns the inverse secant of X.
ArcSecH
function ArcSecH(X) returns Number
Description: ArcSecH returns the inverse hyperbolic secant of X.
ArcSin
function ArcSin(X) returns Number
Description: ArcSin returns the inverse sine of X. X must be between -1 and 1. The return value will be in the range [-Pi/2..Pi/2], in radians.
ArcSinH
function ArcSinH(X) returns Number
Description: ArcSinh returns the inverse hyperbolic sine of X.
ArcTan2
function ArcTan2(Y, X) returns Number
Description: ArcTan2 calculates ArcTangent(Y/X), and returns an angle in the correct quadrant. The values of X and Y must be between –2^64 and 2^64. In addition, the value of X can’t be 0. The return value will fall in the range from -Pi to Pi radians.
ArcTanH
function ArcTanH(X) returns Number
Description: ArcTanH returns the inverse hyperbolic tangent of X. The value of X must be between -1 and 1 (inclusive).
Beep
procedure Beep()
Description: Beep calls the Windows API MessageBeep.
»
|