Predefined constants

Datatypes

gb.Null Null value
gb.Boolean Boolean value
gb.Byte Byte integer number
gb.Short Short integer number
gb.Integer Integer number
gb.Float Floating point number
gb.Date Date and time value
gb.String Character string
gb.Variant Variant
gb.Object Object reference

File types

gb.File Regular file
gb.Directory Directory
gb.Device Special file for a device
gb.Pipe Named pipe
gb.Socket Special file for a socket
gb.Link Symbolic link

String constants

gb.NewLine Newline character. Equivalent to Chr$(13)
gb.Tab Tab character. Equivalent to Chr$(9)

Sort types

gb.Binary Binary sort
gb.Case Case insensitive sort
gb.Lang Language based sort

Predefined numeric formats

gb.GeneralNumber Write a number with twelve decimal digits. Use scientific format if its absolute value is lower than 10-4 or greater than 107.
gb.Fixed Equivalent to "0.00"
gb.Percent Equivalent to "###%"
gb.Scientific Write a number with its exponent and eighteen decimal digits.

Predefined date and time formats

gb.GeneralDate Write a date only if the date and time value has a date part, and write a time only if it has a date part.
gb.LongDate Long date format.
gb.MediumDate Medium date format.
gb.ShortDate Short date format.
gb.LongTime Long time format.
gb.MediumTime Medium time format.
gb.ShortTime Short time format.

Miscellaneous formats

gb.Standard Use gb.GeneralNumber for formatting numbers and gb.GeneralDate for formatting dates and times.



Referenced by: GambasFormat GambasIndexByCategory GambasIndexByName GambasPredefinedConstants GambasStat GambasTypeOf GambasWeekDay