[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson