•
bincpy(binary_data, Start, Count)
- returns ‘count’ bytes of binary data starting at ‘start’.
•
binlen(binary_data)
- - returns the number of bytes of binary data
•
CHAR(integer)
Returns string
Converts a integer to a ASCII character. Range of input number: 0 to 255. Example:
varstring = CHAR(65)
varstring = ‘A’
•
ftoa(float)
Returns string
Converts an floating-point number to a string representation of the number. Example:
ftoa(3.14)
•
GetAudioVolume() Returns integer
Gets the currently set system volume level in a range from 0 - 31 (31 being the loudest and 0
being almost silent).
•
GetTrackLength() Returns integer
Gets the total track duration in milliseconds.
•
GetTrackPosition() Returns Integer
Gets the current track position in milliseconds.
•
GetSystemTime()
Returns the current time
If assigned to a Number, then returns the number of milliseconds since the start of the day.
Assigning the return value to a String gives the date and time in text form. Example:
GetSystemTime()
•
HEX (Char)
Returns a HEX string that represents the character value passed in. Example:
HEX(“A”), HEX(var_name).
•
LStr(string, integer)
Returns string
Return integer number of characters from the left of string. Example:
LStr(“abcdef”,3) returns “abc”
•
ltoa(integer) or itoa(integer)
Returns string
Converts an integer to a string representation of the integer. Domain of return number:
-2147483648 to 2147483647. Example:
ltoa(31) or itoa(31)
•
Ltrim(string)
Returns string
Remove leading spaces from string. Example:
Ltrim(“ test”) returns “test”
•
Mod(interger,divisor)
Returns remainder of division. Ex: mod(10,3) = 1
•
Padl(string, Length)
Returns string
Pads a string with spaces on the left to the length specified. Returns a string. If Length
is less than the length of String, then String is returned. Example:
Padl(“ test”, 4)
•
Padr(string, Length)
Returns string
Pads a string with spaces on the right to the length specified. Returns a string. If Length
is less than the length of String, then String is returned. Example:
Padr(“test “, 6)
•
rand(min, max) Returns integer