All Manuals > Delivery User Guide > 16 Delivery Reference Entries

delivery-value Accessor

Summary

Accesses the value of a delivery keyword.

Package

lispworks

Signature

delivery-value deliver-keyword => value

setf (delivery-value deliver-keyword) value => value

Arguments
deliver-keyword
One of the legal keywords to deliver. There are listed in 5 Keywords to the Delivery Function.
value
A lisp object.
Values
value
A lisp object.
Description

The accessor delivery-value gets or sets value as the value of deliver-keyword.

These must only be called after deliver is called. deliver-keyword must be one of the legal keywords to deliver (see 5.2 Alphabetical list of deliver keywords, or can be displayed by calling deliver-keywords). delivery-value returns the value associated with deliver-keyword. When deliver is called, the values associated with each keyword are initialized from the arguments to deliver or using their default values (which are printed by deliver-keywords), or set to nil. Values can be changed later by user actions that were added to the "Delivery actions" action list, and then by the system. Before starting the shaking operations, the values of the keywords are reset, and delivery-value cannot be called after the shaking.

You can use the setter of delivery-value to set the value of a keyword. Since the user actions are done before the system actions, these system actions (which also use delivery-value to access the keyword's value) will see any change that the user actions effected.

See also

deliver
deliver-keywords


Delivery User Guide - 01 Dec 2021 19:35:07