Gambas Documentation - /comp/gb/gb

/comp/gb/gb

# gb (gb)

This static class includes all basic Gambas constants used by many functions.

This class is static.

Constants

Constant that represents an ascending sort.
Ascent
BigEndian
Constant that represents a binary comparison.
Binary
Constant that represents the Boolean datatype.
Boolean
Constant that represents the Byte datatype.
Byte
Constant that represents a class.
Class
Return a carriage return.
Cr
Return a carriage return followed by a line feed.
CrLf
Currency
Constant that represents the Date datatype.
Date
Day
Constant that represents a descending sort.
Descent
Flag used by the Stat property for a device special file.
Device
Flag used by the Stat property for a directory.
Directory
Constant used by the Access subroutine to test if a file can be read or a directory can be browsed.
Exec
Flag used by the Stat property for a regular file.
File
Fixed
Constant that represents the Float datatype.
Float
Friday
Constant that represents a function.
Function
GeneralDate GeneralNumber Hour
Constant that represents a case insensitive comparison.
IgnoreCase
Constant that represents the Integer datatype.
Integer
International
Constant that represents a language-aware comparison.
Language
Return a line feed.
Lf
Like
Flag used by the Stat property for a symbolic link.
Link
LittleEndian
Constant that represents the Long datatype.
Long
LongDate LongTime
This constant is used by Stream.EndOfLine for indicating that lines of text are separated by a `Chr$(13)` character.
Mac
MediumDate MediumTime Millisecond Minute Monday Month
Constant that represents a natural comparison.
Natural
NewLine
Constant that represents the NULL datatype.
Null
Constant that represents the Object datatype.
Object
Percent
Flag used by the Stat property for a named pipe.
Pipe
Constant that represents the Pointer datatype.
Pointer
Quarter
Constant used by the Access subroutine to test if a file can be read.
Read
Saturday Scientific Second
Constant that represents the Short datatype.
Short
ShortDate ShortNumber ShortTime
Constant that represents the Single datatype.
Single
Flag used by the Stat property for a socket.
Socket
Standard
Constant that represents the String datatype.
String
Sunday Tab Thursday Tuesday
This constant is used by Stream.EndOfLine for indicating that lines of text are separated by a `Chr$(10)` character.
Unix
Constant that represents the Variant datatype.
Variant
Wednesday Week WeekDay
This constant is used by Stream.EndOfLine for indicating that lines of text are separated by a `Chr$(13) & Chr$(10)` character sequence.
Windows
Constant used by the Access subroutine to test if a file can be written.
Write
Year

### See also

- Predefined Constants