DarkBASIC Professional Help File

DX11 SET LABEL TEXT

Sets the text of the specified label.
The internal image that contains the text of the label is only recreated if the text
actually changes so this function can be called to for example display the current score in each
frame with minimalistic overhead.
The special sequence [c=0xaarrggbb] can be part of the input string and will serve to change the colour
from the position where it appears within the string and onwards.

Syntax

    DX11 SET LABEL TEXT label, text

Parameters

    label

> Dword
> The label to set the text for.

    text

> String
> The new text of the label.

Returns

This function does not return a value.

See also

LABEL Functions Menu
DX11 Function Categories