>  Docs Center  >  Libraries  >  CATALYST  >  CATCHECKDEFAULT
Libraries

CATCHECKDEFAULT

CATCHECKDEFAULT

Name


      CATCHECKDEFAULT

Purpose



      This function enables the caller to test system settings. The intention
      is to hide the mechanics of default storage from the caller. Use the
      CatSetDefault procedure to set up the default variable before attempting
      to retrieve it.

Authors



        FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
        1645 Sheely Drive 18 The Green South
        Fort Collins Warborough, Oxon
        CO 80526 USA OX10 7DN, ENGLAND
        Phone: 970-221-0438 Phone: +44 (0)1865 858279
        E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk

Category



      Programming.

Calling Sequence



      result = CatCheckDefault (defaultName)

Input Arguments



    defaultName: The name of the system setting you are checking.

Output Keywords



    VALUE: The value of the defaultName, if it exists.

Return Value



    result: A 1 if the system setting exists, or a 0 if it does not exist.

Modification History



      Written by: David Burridge, 12th March 2003
      Modified to use the CatGetDefault SUCCESS flag. 25th July 2006. DWF.
      Added VALUE keyword. 25th July 2006. DWF.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us