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_PROV( cString )

Purpose

Force an entry to a valid abbreviation of a Canadian province.

Arguments

     cString -- provincial 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 province.

Setup

None.

Example

     ? IS_PROV( "ON" )            && Returns .T.
     ? IS_PROV( "SK", .T. )       && Menu pops up

Returns

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

Side Effects

None.

Artful Calls

V_MENU

Source File

AA_ISPRV.PRG

See Also: IS_STATE()

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