str-var = Get_Curr_Word$


Operands:

none



Returns:


Returns the contents of the current 'word' where the cursor was located at the start of macro processing. If the cursor is not located on a valid data line, or located on white space or delimiters within the line, the value returned will be "" (a zero-length string). Note that 'word' means the same here as it does when used with a FIND 'xxx' WORD command.


RC will always be 0 and Msg$ will be "" (Null)


Special Notes:


An entire 'word' will be returned regardless of where within the word the cursor is located. It doesn't matter whether the cursor is on the first, last, or any other character of the word.


For purposes of determining what a 'word' is, the same rules are used as for a FIND/CHANGE command using the WORD operand. i.e. based on the contents of the Profile WORD character setting.


Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source