DescTools (version 0.99.8.1)

IsValidWrd: Check Word Pointer

Description

Check if a pointer points to a valid and running Word instance. The function does this by trying to get the current selection of the Word instance and returns FALSE if it's NULL.

Usage

IsValidWrd(wrd = getOption("lastWord"))

Arguments

wrd
the pointer to a word instance as created by GetNewWrd() or GetCurrWrd(). Default is the last created pointer stored in getOption("lastWord").

Value

  • logical value

See Also

GetCurrWrd()