next up previous
12.16.4.12.3 Deleting Fields

Allows the deletion of a range of fields in a multifield slot value. The range indices must be from 1..n, where n is the number of fields in the multifield slot's original value and n > 0.

External Interface Syntax

(slot-delete$ <instance-expression> <mv-slot-name>
    <range-begin> <range-end>)

Internal Interface Syntax

(direct-slot-delete$ <mv-slot-name> <range-begin> <range-end>)

Example

CLIPS> (initialize-instance a)
[a]
CLIPS> (slot-delete$ a mfs 2 4)
(a e)
CLIPS>


next up previous