[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
READINSERT()

    Reports the current insert mode setting for READ and MEMOEDIT() and
optionally toggle it on or off.

Syntax

    READINSERT([<expL>])

Argument

    <expL> toggles the insert mode on or off.  True (.T.) turns insert on,
while false (.F.) turns inset off.  The default setting is false.

Returns

    A logical value.

    READINSERT() returns the current insert mode setting if an argument is
not specified and the previous insert mode if the argument is
specified.

Example

    The following sets the insert mode prior to entering MEMOEDIT() and
resets the mode when MEMOEDIT() terminates:

ins_mode = READINSERT(.T.)      && Turn on insert mode
x = MEMOEDIT(x)                                       
READINSERT(ins_mode)           && Restore last setting

See Also: READ MEMOEDIT READEXIT
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson