How to add your knowledge

removeFromPList()

    Table of contents
    1. 1. Synopsis
    2. 2. Syntax
    3. 3. Example 1

    Synopsis

    Returns a copy of plist with indicator and its value removed, if found.

    PList is shorthand for "Property List", which a list of name-value pairs. A properly formed plist must contain an even number of items, and every odd-numbered position must contain a Name. The function does not attempt to fix an incorrect plist and will return an error if it attempts to remove a name without a value.

    Syntax

    removeFromPList ( indicator As Name, _
                      plist As List ) As List
    Argument Type Description
    indicator Name The indicator for the pair being sought.
    plist List The plist containing indicator.

    Example 1

    Intent >removeFromPList(:a, {:a, 1, :b, 2, :c, 3})
    --> {:b, 2, :c, 3}