Index | PAL Intro | Commands | Registers | Indices | Stack | Macros | Classes | Attributes | Errors


Manual Reference Pages  - attr_mvdel (5)

NAME

attr/mvdel - Delete multi-values directly or via edit buffer

CONTENTS

Synopsis
Description
Examples
See Also
Author

SYNOPSIS

attr/mvdel ![object], attribute, value <, value ... >
attr/mvdel buffer, attribute, value <, value ... >

DESCRIPTION

Identical to attr/del except that individual values may be selected for deletion within a multi-value attribute.

The value is an argument containing the data to remove from the attribute. If value is added to an edit buffer and is a register containing the type PSUNIT_TYPE_STRING or PSUNIT_TYPE_XVALUE and the instruction does not generate an error, then the register will be cleared as the data is now referenced elsewhere. In direct edit mode, the register containing the value will always be left intact.

See attr_del(5) for more information.

EXAMPLES

The following demonstrates the use of an edit buffer for removing multiple values from an attribute:

.main  
% Edit an existing node
obj/edit P0, ![BookStore]

% Remove a list of attribute values attr/mvdel P0, [name], [Nicholas Nickleby], [David Copperfield], [Martin Chuzzlewit]
% Commit changes obj/commit P0

SEE ALSO

pal_commands(5), pal_registers(5), pal_indices(5), obj_def(5), obj_clone(5), obj_edit(5), obj_commit(5), attr_add(5), attr_del(5), attr_mod(5), attr_mvadd(5), attr_mvmod(5), attr_load(5), ps_attributes(5),
PROSE Assembly Language at prose.sourceforge.net.

AUTHOR

Copyright (c) 2002-2010 Mark R. Bannister <cambridge@users.sourceforge.net>.

This is free software and can be downloaded from prose.sourceforge.net; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


PAL 1.0 attr_mvdel (5) 14 January 2010
Generated by manServer 1.07 from man5/attr_mvdel.5 using man macros.