Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

IS_STATE( string  )

Purpose

Force entry to a valid abbreviation of any of the 50 American states,
the District of Columbia, or Puerto Rico.

Arguments

     cString -- state code to validate; pass with @ to update.

     lMenu -- if passed and .T., invokes a pop-up pick-list of
                  provinces if cString is not a state.

Setup

None.

Example

     ? IS_STATE( "NY" )           && Returns .T.
     ? IS_STATE( "YZ", .T. )      && Pops up menu

Returns

.T. if cString is a valid American state abbreviation or one
is chosen from the pick-list, else .F.

Side Effects

None.

Artful Calls

PULL_OPEN

Source File

AA_ISSTT.PRG

See Also: IS_PROV()

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