Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>addzip() - set new zip code ranges for iszip(), state()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     addzip() - set new zip code ranges for iszip(), state()
  Usage:    <logical> = addzip(<state>,<low>,<high>)
  Params:   string <state> - 2 digit state abbr. of the state to change
            string <low> - the 'low' end of the zip code range. This
            is the lowest zip code allowed for that state
            string <high> - the 'high' end of the zip code range.
            This is the highest zip code allowed for the defined state

  Returns:  a logical value denoting the success/failure of the
            addition. If the <state> abbreviation is not found, then
            a .F. is returned. If the state abbr. is found and the
            new range set, a logical .T. is returned.

 ---------------------------------- Example ---------------------------------

            This example sets a new range of zip codes for the state
            of New York. New York normally has a zip code range of
            09000 - 14900. this range can be changed with the following
            example:

                 ? iszip("NY","08011")
                 * prints .F.

                 addzip("NY","08000","14900")
                 ? iszip("NY","08011")
                 * prints .T.


See Also: statecode() isstate() iszip() state()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson