function Abs(v: Float): FloatDescription
Returns an absolute value.
function AnsiCompareStr(str1: String; str2: String): IntegerDescription
Compares strings based on the current locale with case sensitivity.
function AnsiCompareText(str1: String; str2: String): IntegerDescription
Compares strings based on the current locale without case sensitivity.
function AnsiLowerCase(str: String): StringDescription
Returns a string that is a copy of the given string converted to lower case.
function AnsiUpperCase(str: String): StringDescription
Converts a string to upper case.
procedure AppendStringToFile(fileName: String; data: String)Description
Adds string to file
function ArcCos(v: Float): FloatDescription
Calculates the inverse cosine of a given number.
function ArcCosh(v: Float): FloatDescription
Calculates the inverse hyperbolic cosine of a given number.
function ArcSin(v: Float): FloatDescription
Calculates the inverse sine of a given number.
function ArcSinh(v: Float): FloatDescription
Calculates the inverse hyperbolic sine of a given number.
function ArcTan(v: Float): FloatDescription
Calculates the arctangent of a given number.
function ArcTanh(v: Float): FloatDescription
Calculates the inverse hyperbolic tangent of a given number.
function ChangeFileExt(fName: String; ext: String): StringDescription
Changes the extension of a file name.
function CharAt(s: String; x: Integer): StringDescription
Returns the character at position 'x' in the string 's'. Because there are no characters in DWSII the return value is a string of length 1 that contains the character.
procedure ChDir(s: String)Description
Changes the current directory.
function Chr(x: Integer): StringDescription
Returns the ANSI character with index 'x'. Because there are no characters in DWSII the return value is a string of length 1 that contains the character.
procedure CleanupGlobalVarsDescription
Returns an absolute value.
function CompareStr(str1: String; str2: String): IntegerDescription
Compares two strings case sensitively.
function CompareText(str1: String; str2: String): IntegerDescription
Compares two strings by ordinal value without case sensitivity.
function Cos(a: Float): FloatDescription
Calculates the cosine of an angle.
function Cosh(a: Float): FloatDescription
Calculates the hyperbolic cosine of an angle.
function Cotan(a: Float): FloatDescription
Calculates the cotangent of an angle.
function CreateDir(dir: String): BooleanDescription
Creates a new directory.
function Date: DateTimeDescription
Returns the current date.
function DateTimeToStr(dt: DateTime): StringDescription
Converts a TDateTime value to a string.
function DateToStr(dt: DateTime): StringDescription
Converts a TDateTime value to a string.
function DayOfWeek(dt: DateTime): IntegerDescription
Returns the day of the week for a specified date.
procedure DecodeDate(dt: DateTime; var y: Integer; var m: Integer; var d: Integer)Description
Returns Year, Month, and Day values for a TDateTime value.
procedure DecodeTime(dt: DateTime; var h: Integer; var m: Integer; var s: Integer; var ms: Integer)Description
Breaks a TDateTime value into hours, minutes, seconds, and milliseconds.
function DegToRad(a: Float): FloatDescription
Returns the value of a degree measurement expressed in radians.
procedure Delete(var S: String; Index: Integer; Len: Integer)Description
Removes a substring from a string.
function DeleteFile(fileName: String): BooleanDescription
Deletes a file from disk.
function EncodeDate(y: Integer; m: Integer; d: Integer): DateTimeDescription
Returns a TDateTime value that represents a specified Year, Month, and Day.
function EncodeTime(h: Integer; m: Integer; s: Integer; ms: Integer): DateTimeDescription
Returns a TDateTime value for a specified Hour, Min, Sec, and MSec.
procedure ErrorDlg(msg: String)Description
Displays a error-message box with an OK button.
function Exp(v: Float): FloatDescription
Returns the exponential of X.
function ExtractFileDir(fName: String): StringDescription
Extracts the drive and directory parts from FileName.
function ExtractFileDrive(fName: String): StringDescription
Returns the drive portion of a file name.
function ExtractFileExt(fName: String): StringDescription
Returns the extension portions of a file name.
function ExtractFileName(fName: String): StringDescription
Extracts the name and extension parts of a file name.
function ExtractFilePath(fName: String): StringDescription
Returns the drive and directory portions of a file name.
function FileExists(fileName: String): BooleanDescription
Tests if a specified file exists.
function FileSearch(name: String; dirList: String): StringDescription
Searches a specified directory path for a file.
function FloatToStr(f: Float): StringDescription
Converts a floating point value to a string.
function FormatDateTime(frm: String; dt: DateTime): StringDescription
Formats a TDateTime value.
function Frac(v: Float): FloatDescription
Returns the fractional part of a real number.
function GetCurrentDir: StringDescription
Returns the name of the current directory.
function Hypot(x: Float; y: Float): FloatDescription
Calculates the length of the hypotenuse.
function Inc(var a: Integer; b: Integer): IntegerDescription
Returns a date shifted by a specified number of months.
function IncMonth(dt: DateTime; nb: Integer): DateTimeDescription
Returns a date shifted by a specified number of months.
procedure InformationDlg(msg: String)Description
Displays a message box with an OK button.
function InputBox(aCaption: String; aPrompt: String; aDefault: String): StringDescription
Displays an input dialog box that lets the user enter a string.
procedure Insert(src: String; var S: String; Index: Integer)Description
Inserts a substring into a string beginning at a specified point.
function Int(v: Float): FloatDescription
Returns the integer part of a real number.
function IntToHex(v: Integer; digits: Integer): StringDescription
Returns the hex representation of an integer.
function IntToStr(i: Integer): StringDescription
Converts an integer to a string.
function IsDelimiter(delims: String; s: String; index: Integer): BooleanDescription
Indicates whether a specified character in a string matches one of a set of delimiters.
function IsLeapYear(year: Integer): BooleanDescription
Indicates whether a specified year is a leap year.
function LastDelimiter(delims: String; s: String): BooleanDescription
Returns the byte index in S of the last character that matches any character in the Delimiters AnsiString.
function Length(str: String): IntegerDescription
Returns the number of characters in a string.
function Ln(v: Float): FloatDescription
Returns the natural log of a real expression.
function LoadStringFromFile(fileName: String): StringDescription
Loads String from File
function Log10(v: Float): FloatDescription
Calculates log base 10.
function Log2(v: Float): FloatDescription
Calculates log base 2.
function LogN(n: Float; x: Float): FloatDescription
Calculates the log of X for a specified base.
function LowerCase(str: String): StringDescription
Converts an ASCII string to lowercase.
function Max(v1: Float; v2: Float): FloatDescription
Returns the greater of two numeric values.
function Min(v1: Float; v2: Float): FloatDescription
Returns the lesser of two numeric values.
function Now: DateTimeDescription
Returns the current date and time.
function OkCancelDlg(msg: String): BooleanDescription
Displays a message box with OK/Cancel buttons.
function Ord(s: String): IntegerDescription
Returns the ANSI index of the first index in the string 's'.
function Pi: FloatDescription
Returns 3.1415926535897932385.
function Pos(subStr: String; str: String): IntegerDescription
Returns the index value of the first character in a specified substring that occurs in a given string.
function Power(base: Float; exponent: Float): FloatDescription
Raises Base to any power.
function QuestionDlg(msg: String): BooleanDescription
Displays a message box with yes/no buttons.
function QuotedStr(str: String): StringDescription
Returns the quoted version of a string.
function RadToDeg(a: Float): FloatDescription
Converts radians to degrees.
function RandG(mean: Float; stdDev: Float): FloatDescription
Generates random numbers with Gaussian distribution.
function Random: FloatDescription
Generates random numbers.
function RandomInt(range: Integer): IntegerDescription
Generates random numbers within a specified range.
procedure RandomizeDescription
Initializes the random number generator with a random value.
function RandSeed: IntegerDescription
RandSeed stores the built-in random number generator's seed.
function ReadGlobalVar(n: String): VariantDescription
Returns an absolute value.
function ReadGlobalVarDef(n: String; d: Variant): VariantDescription
Returns an absolute value.
function RemoveDir(dir: String): BooleanDescription
Deletes an existing empty directory.
function RenameFile(oldName: String; newName: String): BooleanDescription
Changes a file name.
function Round(v: Float): IntegerDescription
Returns the value of X rounded to the nearest whole number.
procedure SaveStringToFile(fileName: String; data: String)Description
Saves a string to a file
procedure SetCharAt(var s: String; x: Integer; c: String)Description
Returns an absolute value.
function SetCurrentDir(dir: String): BooleanDescription
Sets the current directory.
procedure SetRandSeed(seed: Integer)Description
RandSeed stores the built-in random number generator's seed.
procedure ShowMessage(msg: String)Description
Displays a message box with an OK button.
function Sin(a: Float): FloatDescription
Returns the sine of the angle in radians.
function Sinh(a: Float): FloatDescription
Returns the hyperbolic sine of an angle.
function Sqr(v: Float): FloatDescription
Returns the square of a number.
function Sqrt(v: Float): FloatDescription
Returns the square root of X.
function StrToDate(str: String): DateTimeDescription
Converts a string to a TDateTime value.
function StrToDateTime(str: String): DateTimeDescription
Converts a string to a TDateTime value.
function StrToFloat(str: String): FloatDescription
Converts a given string to a floating-point value.
function StrToFloatDef(str: String; def: Float): FloatDescription
Converts a given string to a floating-point value.
function StrToInt(str: String): IntegerDescription
Converts a string that represents an integer (decimal or hex notation) to a number.
function StrToIntDef(str: String; def: Integer): IntegerDescription
Converts a string that represents an integer (decimal or hex notation) to a number.
function StrToTime(str: String): DateTimeDescription
Converts a string to a TDateTime value.
function Tan(a: Float): FloatDescription
Returns the tangent of X.
function Tanh(a: Float): FloatDescription
Returns the hyperbolic tangent of X.
function Time: DateTimeDescription
Returns the current time.
function TimeToStr(dt: DateTime): StringDescription
Returns a string that represents a TDateTime value.
function Trim(str: String): StringDescription
Trims leading and trailing spaces and control characters from a string.
function TrimLeft(str: String): StringDescription
Trims leading spaces and control characters from a string.
function TrimRight(str: String): StringDescription
Trims trailing spaces and control characters from a string.
function Trunc(v: Float): IntegerDescription
Truncates a real number to an integer.
function UpperCase(str: String): StringDescription
Returns a copy of a string in uppercase.
procedure WriteGlobalVar(n: String; v: Variant)Description
Returns an absolute value.