Function: awword

Syntax

awword ({<cursor>})

Type

string

Returns

The text word at a screen position indicated by an interactive mouse operation. Only text in an alpha window may be indicated. If the word is partially obscured by other windows, or is clipped out, the whole word will still be returned. If no text is found at the position, an empty string is returned. A word is any combination of alphanumeric characters or an underscore.

Parameters

Examples

Use the default cursor.

string word = awword

Use a "hand" cursor.

string word = awword(hand)

See Also

Commands:

cursor, uncursor, walpha

Functions:

awchar (string), awcol (numeric), awline (string), awrow (numeric)

Identifiers:

tracking (procedure)

Structures:

cursor