Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

MWAPI - INSELECT

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

Right Hand Pointer

6.4.17 INSELECT elattribute

Definition

INSELECT indicates the insertion point within a text value and a count of the number of characters selected. New characters inserted into the text value are added immediately following the position indicated by the insert value.

If seloff is 0 (zero), no characters are selected. If seloff is greater than 0 (zero), the seloff characters immediately following the position identified by insert (that is, characters insert+1 through insert+seloff) are selected. If seloff is less than 0 (zero), the seloff characters immediately preceding the position identified by insert (that is, characters insert+1+seloff through insert) are selected.

When an application attempts to assign a value to the INSELECT elattribute, the following series of actions are performed. If the value of insert is less than 0 (zero), it is set to 0 (zero). If the value of insert exceeds the length of the text value, insert is set to indicate the last character of the text value. If the value of seloff would select characters before the beginning of or after the end of the data value, seloff is set, respectively, to indicate that the selection extends to the first or final character in the value.

If there is no insertion point within the text value of a gadget, its INSERT elattribute is not defined. If no VALUE elattribute is defined, INSELECT is not defined and is not modifiable. If an application assigns values to a gadget's INSELECT and VALUE elattributes with a single M[UMPS] MERGE command, the result is as if VALUE were defined first.

Domain insel
Access Create, Modify, Reference
Default Platform
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2018 MUMPS Development Committee;
Copyright © Examples: 1995-2018 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2018 Ed de Moel.

This page most recently updated on 29-Nov-2011, 20:03:11 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)