company logo

PropertyHandle :: MoveUp - Move instance one position up

In an unordered collection or in a collection ordered by __AUTOIDENT the position of an instance can be moved up or down. Moving the instance up in an unordered position will change the position of the instance, only. Moving it up in a collection ordered by __AUTOIDENT will update the identifying number of the instance.

The function will not change the position for instances in any other type of collection.

Return value:  Success ( logical  )

Implementation overview

Implementation details

  1. Move instance up
    logical PropertyHandle  :: MoveUp (  )

    The implementation moves the instance one entry up in the collection.

  2. to list
  3. Move instance up
    logical PropertyHandle  :: MoveUp ( int32 count )

    The implementation moves the instance entry count positions up in the collection. When count is negative (AUTO) or larger than the current instance position, it will be moved on top of the collection.

    • count - Number of items

      The value contains the number of items (characters, entries, instances etc.).

  4. to list