DADiSP Worksheet Functions > Function Categories > String Manipulation > STRWIN

 

STRWIN

Purpose:

Converts a Window argument into a string.

Syntax:

STRWIN(win)

win

-

Optional. Window reference. Defaults to the current Window.

Returns:

A string.

Example:

strwin(W9)

 

produces the string: W9.

Example:

strcat(strwin(W5), "is correct")

 

returns the string: W5 is correct.

Remarks:

STRWIN can be useful when creating custom menus and input panels.

 

See CASTWINDOW to convert a string or number to a Window.

See Also:

CASTWINDOW

GETWNUM

WINNAME