Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_setcentury()</b> http://www.X-Hacker.org [<<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

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