comp • gb.vb • vb

Vb (gb.vb)

The VB class contains static methods equivalent to VB built-in functions whose Gambas equivalents don't work quite the same way.

This class is static.

Static methods

Returns a Date to which a specified time interval has been added.
DateAdd  
Returns the number of periods between two dates. A negative number will mean that date2 is bigger than date1.
DateDiff  
Returns the Count first characters of a string.
Left  
Implements the VB-like Mid$() function.
Mid  
Returns the Count last characters of a string.
Right  
Implements the VB-like Round() function.
Round  
Implements the VB-like Str$() function.
Str  
Implements the VB-like Val() function.
Val