Appendix A. CRBasic Programming Instructions
Syntax
String = FormatLong(Long, FormatString)
FormatLongLong
Converts a 64-bit LONG integer into a decimal value in the format of a string
variable.
Syntax
FormatLongLong(LongLongVar(1))
HEX
Returns a hexadecimal string representation of an expression.
Syntax
Variable = HEX(Expression)
HexToDec
Converts a hexadecimal string to a float or integer.
Syntax
Variable = HexToDec(Expression)
InStr
Finds the location of a string within a string.
Syntax
Variable = InStr(Start, SearchString, FilterString,
SearchOption)
LTrim
Returns a copy of a string with no leading spaces.
Syntax
variable = LTrim(TrimString)
Left
Returns a substring that is a defined number of characters from the left side of the
original string.
Syntax
variable = Left(SearchString, NumChars)
Len
Returns the number of bytes in a string.
Syntax
Variable = Len(StringVar)
576