FT_SETCENTURY

FT_SETCENTURY()
 Check/Set the CENTURY Setting

 Syntax

      FT_SETCENTURY( [ <lNewSetState> ] ) -> <lOldState>

 Arguments

     lNewSetState - Boolean to Set CENTURY
                      .F. - Toggle CENTURY off
                      .T. - Toggle CENTURY on
                      If not specified, leave CENTURY as is

 Returns

     The state of the CENTURY setting upon entry to the routine

 Description

     This function returns the state (ON/OFF, TRUE/FALSE) of the CENTURY
     and optionally sets it ON or OFF.

 Examples

     lOldState := FT_SETCENTURY()     // Get current CENTURY Setting

     lOldState := FT_SETCENTURY(.T.)  // Get the current CENTURY Setting
                                      // and turn it on (set it to TRUE)

     lOldState := FT_SETCENTURY(.F.)  // Get the current CENTURY Setting
                                      // and turn it off (set it to FALSE)

 Source: CNTRYSET.PRG

 Author: David Husnian

 

One response to “FT_SETCENTURY

  1. Pingback: FT Environment | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.