DarkBASIC Professional Help File

DX11 GET CAPTURED STRING LENGTH

Retrieves the length of the string captured from keyboard input (thus far if string capturing is still ongoing).
This is a convenience function and len(string$) can be used instead, however since the engine keeps track
of the size of the captured string anyway, using this function will be faster.

Syntax

    Return Dword = DX11 GET CAPTURED STRING LENGTH()

Parameters

    This function does not take any parameters.

Returns

The length of the currently captured string from keyboard input as of the last call to DX11 SYNC.

See also

INPUT Functions Menu
DX11 Function Categories