Character strings with automatic adjustment.

Character strings with automatic adjustment. Unlike char * strings, these strings do not require a maximum length : The strings grow automatically when needed. The only thing you have to do, is creating the String object itself using string::alloc.

In the parameters of most of the cScript functions, text parameters may be both char* and string variables. cScript does the necessary conversions on its own. In order to be compatible with external development environments like Xcode, Visual Studio or Visual Studio Code, the data type of String is defined as char* here. Please note, however, that String is still a different data type and not equal to char*.

See Also

Alphabetic index HTML hierarchy of classes or Java