[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Basic types

The five basic data types are denoted by byte, int, big, real, and string.
Table A-1 Basic data types in Limbo
byte unsigned, 8-bit
int signed, 32-bit
big signed, 64-bit
real IEEE long floating point, 64-bit

The byte, int, big, and real types are collectively called arithmetic types.

Strings are vectors of Unicode characters. They can be concatenated and extended character-by-character. When a string is indexed with a single subscript, it yields an integer with the Unicode encoding of the character; when it is indexed by a range, it yields another string. Strings are indexed starting at 0.



[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.