Navigation bar
  Start Previous page
 10 of 283 
Next page End 5 6 7 8 9 10 11 12 13 14 15  

1
System Library Reference
Routines by Category
The ZBasic System Library provides a rich collection of subroutines and functions that you can use to add
functionality to your application.  The routines may be divided into several conceptual categories as
shown below.
Type Conversion Functions
CBit()
convert a value to type Bit
convert a value to type Boolean
convert a value to type Byte
convert an integral value to a reference to a Byte array
CInt()
convert a value to type Integer
CLng()
convert a value to type Long
convert a value to type Nibble
CSng()
convert a value to type Single
CStr()
convert a value to type String
convert a value to a String containing hexadecimal characters
convert a value to an enumeration member
convert a value to type UnsignedInteger
convert a value to type Long
FixB()
convert a Single value to type Byte
FixI()
convert a Single value to type Integer
FixL()
convert a Single value to type Long
convert a Single value to type UnsignedInteger
convert a Single value to type UnsignedLong
convert a value to an enumeration member
Mathematical Functions
Abs() 
absolute value
ACos()
arc cosine
ASin()
arc sine
Atn() 
arc tangent
Atn2()
arc tangent (quadrant-correct)
largest integer not greater than a Single value
Cos() 
cosine
convert degrees to radians
Exp() 
e
x
10
x
Fix() 
integer portion of a Single value
smallest integer not less than a Single value
fractional portion of a Single value
Log() 
natural logarithm
common logarithm
Max() 
determine the largest of two values
Min()
determine the smallest of two values
Pow() 
raise a value to a power
convert radians to degrees
determine if a value is negative, zero or positive
Sin() 
sine
return the class information for a Single value
Sqr() 
square root
Tan() 
tangent
Previous page Top Next page