txt_create(var strings, var layer)

Creates an unnamed TEXT object. The object is automatically removed when the engine is closed.

Parameters:

strings - the number of strings in the TEXT. Empty strings are automatically created.
layer - the layer of the TEXT.

Returns:

Pointer to the TEXT, or NULL if the creation failed .

Speed:

slow

Example:

my_txt = txt_create(1,1);

See also:

TEXT, txt_remove