Z Programs
Z.zip.code.ck
This program checks for legal zip codes and postal codes. A legal zip code is either: nnnnn or nnnnn-nnnn A legal postal code is: ana nan (02141 or 02141-1234) (A1B 2K3)
Arguments: A = user's
entry
B = Y or N (allow
user to override a bad entry, after a warning)
C = Z, P, or nil Z=only allow zip code form,
P=only allow
postal code form,
nil=allow both)
RETURNS: TRUE if there is an error.
Posted: August 03, 2001







