string(string1, string2...);
Assigns previously defined, initialized global STRING pointers,
or directly given strings to one one or more string pointers of
the
TEXT. LC The string pointers can
be accessed through the pstring array.
Type:
STRING*
Remarks:
- Individual strings of the string pointer array are accessed
through a [] index suffix, e.g.
str_cpy(my_text.string[7], "Test!"); // C-Script
str_cpy((my_text.pstring)[7], "Test!"); // lite-C
Example:
STRING* str1 = "Welcome\n";
STRING* this_is = "This is";
STRING* a = " a ";
STRING* text = "Text";
TEXT* tWelcome =
{
...
string (str1, this_is, a, text, "\nand this another line!"); // create an array of 5 string pointers
}
See also:
TEXT, STRING, layer, pos_x,
pos_y, size_y, offset_y, strings, font, alpha, flags