The “text” data type is an important feature of Rittle. It allows easy work with symbolic data represented as a sequence of unlimited length consisting of any 8-bit ASCII code with the exception of code 0. The sequence is terminated by a character with code 0.
There are only a few but powerful functions to operate with text in Rittle.
An important detail to be mentioned: RVM performs all the necessary operations to allocate the needed memory and transfer the data when working with text data, so from user’s perspective text data has no limit in length. The developer can specify the maximum allowed length for text data, though. RVM will take care to ensure that the length of the variable during execution never goes beyond a specified value.
Arrays of text data type are allowed and work in the same way as numeric arrays.