Xbasic
DELIVERY_CODE Function
Syntax
DeliveryCode as C = DELIVERY_CODE(C address,C zipcode)
Arguments
- address
A street address. Character
- zipcode
The ZIP code of the address. Character
Description
Computes the two digit delivery code for UPC codes
Discussion
DELIVERY_CODE() returns the delivery point code for an address. Used for computing the string to code with the PostNet bar code font when printing envelopes.
Example
? delivery_code("36 Bigelow St", "01803") = "36" ? delivery_code("936 Bigelow St", "01803") = "36"
See Also