PANEL* pan_create(char* content, var layer)

Creates an unnamed panel.

Parameters:

content - panel definition in a STRING* pointer or char array, or NULL.
layer - the layer of the panel.

Returns:

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

Remarks:

The panel definition is the same as in C-Script after the leading bracket.

Speed:

slow

Example:

Splash = pan_create("bmap = splash.pcx;",1);

See also:

panel, pan_remove