Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference > Language Overview > Data Types >
Numbers
Table 5 shows the numeric types.
Numeric values are always signed.
Siebel VB has no true Boolean variables. Basic considers 0 to be FALSE and any other numeric value to be TRUE. Only numeric values can be used as Booleans. Comparison operator expressions always return 0 for FALSE and -1 for TRUE.
Integer constants can be expressed in decimal, octal, or hexadecimal notation. Decimal constants are expressed by simply using the decimal representation. To represent an octal value, precede the constant with
&O
or&o
(for example,&o177
). To represent a hexadecimal value, precede the constant with&H
or&h
(for example,&H8001
).
Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference Published: 18 June 2003 |