Mobile App Development Software
Alpha TransForm
|
Alpha Anywhere - Build Apps for Free
Alpha Software
Documentation
  • Reference
  • API
  • Functions
  • Data Type
  • Character Functions
  • Formatting Functions
  • DELIVERY_CODE Function
Parent | Child | Previous | Next
  • *ADDSLASHES Function
  • *concat_keys Function
  • *grouping_format_get Function
  • *if_error Function
  • a5_addtrailingbackslash Function
  • a5_changeorderoflist Function
  • a5_code_format Function
  • a5_pad_leading_tabs Function
  • a5_popuptexteditor Function
  • a5_remove_curly_brackets Function
  • a5_remove_quotes Function
  • a5_removetrailingbackslash Function
  • a5_unsquare Function
  • ALIGN_LEFT Function
  • ALLTRIM Function
  • CASE Function
  • DELIVERY_CODE Function
  • IIF Function
  • jsescapequotes Function
  • LTRIM Function
  • PADC Function
  • PADL Function
  • PADR Function
  • profiler_format Function
  • QUOTE Function
  • RAND_STRING Function
  • regex_literal_insert Function
  • REPLICATE Function
  • RIGHT Function
  • RTRIM Function
  • savestringtofile Function
  • SPACE Function
  • TRANSFORM Function
  • TRIM Function
  • UN_PAREN Function
  • UNMASK Function
  • unquote Function
  • UNQUOTE2 Function
  • WORD_WRAP Function
 
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

  • Character Formatting Functions
  • CHKDIGIT()
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Build Apps for Free
Alpha Software Corporation

781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy