<<

Contents

Search

>>

 

EDITOR_GET_TEXT$

 

 

Function

 

 

Syntax:

EDITOR_GET_TEXT$(<Mask Field>[,<Handle>])

 

<Mask Field>

= <MASK FIELD>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Returns the text of a Word Processor

 

<Mask Field> has to be a Word Processor field.

 

<Handle> specifies the window that contains the word processor field. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the word processor field must be on the current mask.

 

In the case of an error the variable OK contains the error code.

OK

Meaning

0

Success

-1

<Mask Field> not found.

-2

<Mask Field> is not a Word Processor.

-3

Could not read text. ERRORTEXT$ contains error message.

  

Attention: This function has no effect with Html programs.

 

Parameter:

Mask Field

Word Processor field

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Sample:

TEXT$ = EDITOR_GET_TEXT$(#5.#PROCESSOR$)

IF OK <> 0

THEN ... Error ...

ENDIF

 

See also:

EDITOR_GET_SELECTED_TEXT$

EDITOR_GET_CURSOR

EDITOR_GET_STYLEDTEXT$

EDITOR_HAS_CHANGED

EDITOR_INSERT

EDITOR_LOAD_FILE

EDITOR_LOAD_STRING

EDITOR_RESET_CHANGED

EDITOR_SET_COLOR

EDITOR_SET_CURSOR

EDITOR_SET_STYLE

GET_STYLEDTEXT_FROM_FILE$