home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
CLIPPER
/
NFTROFF
/
MERGED.TR
< prev
next >
Wrap
Text File
|
1993-12-01
|
17KB
|
1,171 lines
.de }n
.bp
.sp .5i
..
.wh -.8i }n
.sp .5i
.po -.4i
.ll 7.5i
.ps 9
.vs 9
.in 0i
.ps +2
.vs +2
Array
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_AADDITION() Add elements unique of source array to target array
.br
.ta
.ta 1.28i
.br
FT_AAVG() Average numeric values in an array
.br
.ta
.ta 1.28i
.br
FT_ADESSORT() Sort an array in descending order
.br
.ta
.ta 1.28i
.br
FT_AEMAXLEN() Find longest element within an array
.br
.ta
.ta 1.28i
.br
FT_AEMINLEN() Find shortest element within an array
.br
.ta
.ta 1.28i
.br
FT_AMEDIAN() Find middle value in array, or average of two middle values
.br
.ta
.br
FT_ANOMATCHES() Find the number of array elements meeting a condition
.ta 1.28i
.br
FT_AREDIT() 2 dimensional array editing function using TBrowse
.br
.ta
.ta 1.28i
.br
FT_ASUM() Sum the elements of an array
.br
.ta
.ta 1.28i
.br
FT_RESTARR() Restore a Clipper array from a disc file
.br
.ta
.ta 1.28i
.br
FT_SAVEARR() Save Clipper array to a disc file\.
.br
.ta
.bp
.ps +2
.vs +2
Math
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_GCD() Calculate greatest common divisor of two numbers
.br
.ta
.ta 1.28i
.br
FT_NETPV() Calculate net present value
.br
.ta
.ta 1.28i
.br
FT_RAND1() Generate a random number
.br
.ta
.ta 1.28i
.br
FT_ROUND() Rounds a number to a specific place
.br
.ta
.bp
.ps +2
.vs +2
Menus/Prompts
.ps -2
.vs -2
.sp
.ta 1.28i
.br
@\.\.\.PROMPT Define a menu item for use with MENU TO
.br
.ta
.ta 1.28i
.br
FT_ACH2TB() Replace ACHOICE() with a Tbrowse object
.br
.ta
.ta 1.28i
.br
FT_ADDER() Pop up a simple calculator
.br
.ta
.ta 1.28i
.br
FT_BLINK() Display a blinking message on the screen
.br
.ta
.ta 1.28i
.br
FT_BRWSWHL() Browse an indexed database limited to a while condition
.br
.ta
.ta 1.28i
.br
FT_CLRSEL() User Selectable Colour Routine
.br
.ta
.ta 1.28i
.br
FT_DISPMSG() Display a message and optionally waits for a keypress
.br
.ta
.ta 1.28i
.br
FT_FILL() Declare menu options for FT_MENU1()
.br
.ta
.ta 1.28i
.br
FT_MENU1() Pulldown menu system
.br
.ta
.ta 1.28i
.br
FT_MENU2() Vertical lightbar menu
.br
.ta
.ta 1.28i
.br
FT_MENUTO() Execute light bar menu using prompts created with FT_PROMPT(
.br
.ta
.ta 1.28i
.br
FT_PENDING() Display same-line pending messages after a wait\.
.br
.ta
.ta 1.28i
.br
FT_PICKDAY() Picklist of days of week
.br
.ta
.ta 1.28i
.br
FT_PROMPT() Define a menu item for use with FT_MENUTO()
.br
.ta
.ta 1.28i
.br
FT_XBOX() Display a self-sizing message box and message
.br
.ta
.ta 1.28i
.br
MENU TO Execute light bar menu using prompts created with @\.\.\.PROMPT
.br
.ta
.bp
.ps +2
.vs +2
NetWare
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_ENDCAP() Cancel a specific NetWare print queue capture
.br
.ta
.ta 1.28i
.br
FT_LOGOUT() Logout from all currently connected NetWare file servers
.br
.ta
.ta 1.28i
.br
FT_NOVDMP2() Determine Novell server\'s dynamic memory area 2 availability
.br
.ta
.ta 1.28i
.br
FT_NOVPURGE() Purge all deleted files on a Novell server
.br
.ta
.ta 1.28i
.br
FT_NWLSTAT() Return the current Novell NetWare logical station number
.br
.ta
.br
FT_NWSEMCLOSE() Close a NetWare semaphore
.ta 1.28i
.br
FT_NWSEMEX() Examine a NetWare semaphore\'s value and open count
.br
.ta
.ta 1.28i
.br
FT_NWSEMLOCK() Perform a semaphore "lock"
.br
.ta
.ta 1.28i
.br
FT_NWSEMOPEN() Open or create a NetWare semaphore
.br
.ta
.ta 1.28i
.br
FT_NWSEMSIG() Signal a NetWare semaphore (increment)
.br
.ta
.ta 1.28i
.br
FT_NWSEMWAIT() Wait on a NetWare semaphore (decrement)
.br
.ta
.ta 1.28i
.br
FT_NWUID() Return the current Novell NetWare User ID
.br
.ta
.ta 1.28i
.br
FT_PFLUSH() Flush a NetWare capture buffer
.br
.ta
.ta 1.28i
.br
FT_TTSABORT() Abort explicit and implicit NetWare TTS transactions
.br
.ta
.ta 1.28i
.br
FT_TTSAVAIL() Check whether default Novell file server supports TTS
.br
.ta
.ta 1.28i
.br
FT_TTSBEGIN() Begin explicit transaction under NetWare\'s TTS
.br
.ta
.ta 1.28i
.br
FT_TTSEND() End explicit or implicit transaction under NetWare\'s TTS
.br
.ta
.ta 1.28i
.br
FT_TTSSTAT() Verify if TTS transaction has been written to disk
.br
.ta
.bp
.ps +2
.vs +2
String
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_AT2() Find position of the nth occurrence of a substring
.br
.ta
.ta 1.28i
.br
FT_BITCLR() Clear (reset) selected bit in a byte
.br
.ta
.ta 1.28i
.br
FT_BITSET() Set selected bit in a byte
.br
.ta
.ta 1.28i
.br
FT_BYTEAND() Perform bit-wise AND on two ASCII characters (bytes)
.br
.ta
.ta 1.28i
.br
FT_BYTENEG() Perform bit-wise negation on an ASCII character
.br
.ta
.ta 1.28i
.br
FT_BYTENOT() Perform bit-wise NOT on an ASCII character (byte)
.br
.ta
.ta 1.28i
.br
FT_BYTEOR() Perform bit-wise OR on two ASCII characters (bytes)
.br
.ta
.ta 1.28i
.br
FT_BYTEXOR() Perform bit-wise XOR on two ASCII characters (bytes)
.br
.ta
.ta 1.28i
.br
FT_FINDITH() Find the "ith" occurrence of a substring within a string
.br
.ta
.ta 1.28i
.br
FT_ISBIT() Test the status of an individual bit
.br
.ta
.ta 1.28i
.br
FT_ISBITON() Determine the state of individual bits in a number
.br
.ta
.ta 1.28i
.br
FT_METAPH() Convert a character string to MetaPhone format
.br
.ta
.ta 1.28i
.br
FT_NOOCCUR() Find the number of times one string occurs in another
.br
.ta
.ta 1.28i
.br
FT_PCHR() Convert printer control codes
.br
.ta
.ta 1.28i
.br
FT_PROPER() Convert a string to proper-name case
.br
.ta
.bp
.ps +2
.vs +2
Video
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_ADAPTER() Report the type of video adapter installed
.br
.ta
.ta 1.28i
.br
FT_CLS() Clear screen
.br
.ta
.ta 1.28i
.br
FT_GETMODE() Get the video mode
.br
.ta
.ta 1.28i
.br
FT_GETVCUR() Return info about the cursor on a specified video page
.br
.ta
.ta 1.28i
.br
FT_GETVPG() Get the currently selected video page
.br
.ta
.ta 1.28i
.br
FT_RESTATT() Restore the attribute bytes of a specified screen region\.
.br
.ta
.ta 1.28i
.br
FT_REVATTR() Reverse colors of specified screen coordinates
.br
.ta
.ta 1.28i
.br
FT_REVCHR() Reverse the color of a single character on the screen
.br
.ta
.ta 1.28i
.br
FT_RGNSTACK() Push or pop a saved screen region on or off the stack
.br
.ta
.ta 1.28i
.br
FT_RSTRGN() Restore region of the screen saved with FT_SAVRGN()
.br
.ta
.ta 1.28i
.br
FT_SAVEATT() Save the attribute bytes of a specified screen region\.
.br
.ta
.ta 1.28i
.br
FT_SAVRGN() Save a screen region for later display
.br
.ta
.ta 1.28i
.br
FT_SETATTR() Change color attributes of screen region
.br
.ta
.ta 1.28i
.br
FT_SETMODE() Set the video mode
.br
.ta
.ta 1.28i
.br
FT_SETVCUR() Set the cursor position on a specified video page
.br
.ta
.ta 1.28i
.br
FT_SETVPG() Set the current video page
.br
.ta
.ta 1.28i
.br
FT_SHADOW() Draw a non-destructive shadow on the screen
.br
.ta
.ta 1.28i
.br
FT_VIDSTR() Display string on screen in specified attribute
.br
.ta
.ta 1.28i
.br
FT_WRTCHR() Display character on screen
.br
.ta
.bp
.ps +2
.vs +2
Overview
.ps -2
.vs -2
.sp
.br
Overview, Part 1
.br
Overview, Part 2
.bp
.ps +2
.vs +2
Rebuilding the Library
.ps -2
.vs -2
.sp
.br
Recompiling the source code
.br
Recompiling the Norton Guide
.bp
.ps +2
.vs +2
Sample source code headers
.ps -2
.vs -2
.sp
.br
Submitting code for the Library
.br
Sample Clipper or C header
.br
Sample ASM header
.bp
.ps +2
.vs +2
Conversion
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_BYT2BIT() Convert byte to string of 1\'s and 0\'s
.br
.ta
.ta 1.28i
.br
FT_BYT2HEX() Convert byte to hexadecimal version of its binary value
.br
.ta
.ta 1.28i
.br
FT_D2E() Convert decimal to scientific notation
.br
.ta
.ta 1.28i
.br
FT_DEC2BIN() Convert decimal to binary
.br
.ta
.ta 1.28i
.br
FT_E2D() Convert scientific notation string to a decimal
.br
.ta
.ta 1.28i
.br
FT_ESCCODE() Convert Lotus style escape codes
.br
.ta
.ta 1.28i
.br
FT_HEX2DEC() Convert a hex number to decimal
.br
.ta
.ta 1.28i
.br
FT_INVCLR() Get the inverse of a color
.br
.ta
.ta 1.28i
.br
FT_NTOW() Translate numeric value to words
.br
.ta
.ta 1.28i
.br
FT_SQZN() Compress a numeric value into a character string
.br
.ta
.ta 1.28i
.br
FT_STOD() Convert a date string to a Clipper date data type
.br
.ta
.ta 1.28i
.br
FT_UNSQZN() Uncompress a numeric compressed by FT_SQZN()
.br
.ta
.ta 1.28i
.br
FT_XTOY() Convert from any data type to any other data type
.br
.ta
.bp
.ps +2
.vs +2
DOS/BIOS
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_CHDIR() Change the current directory
.br
.ta
.ta 1.28i
.br
FT_DEFAULT() Retrieve and optionally change the current default drive
.br
.ta
.ta 1.28i
.br
FT_DOSVER Return the current DOS major and minor version as a string
.br
.ta
.ta 1.28i
.br
FT_DSKFREE() Return the amount of available disk space
.br
.ta
.ta 1.28i
.br
FT_DSKSIZE() Return the maximum capacity of a fixed disk
.br
.ta
.ta 1.28i
.br
FT_FLOPTST() Test diskette drive status
.br
.ta
.ta 1.28i
.br
FT_HANDCNT() Count number of available DOS (not network) file handles
.br
.ta
.ta 1.28i
.br
FT_INP() Retrieve a byte from a specified I/O port
.br
.ta
.ta 1.28i
.br
FT_INT86() Execute a software interrupt
.br
.ta
.ta 1.28i
.br
FT_ISPRINT() Check printer status
.br
.ta
.ta 1.28i
.br
FT_ISSHARE() Determine if DOS "Share" is installed
.br
.ta
.ta 1.28i
.br
FT_MKDIR() Create a subdirectory
.br
.ta
.ta 1.28i
.br
FT_OUTP() Write a byte to a specified I/O port
.br
.ta
.ta 1.28i
.br
FT_PEEK() Retrieve a byte from a specified memory location\.
.br
.ta
.ta 1.28i
.br
FT_POKE() Write a byte to a specified memory location
.br
.ta
.ta 1.28i
.br
FT_REBOOT() Force a warm or cold boot
.br
.ta
.ta 1.28i
.br
FT_RMDIR() Delete a subdirectory
.br
.ta
.ta 1.28i
.br
FT_SETDATE() Set the DOS system date
.br
.ta
.ta 1.28i
.br
FT_SETTIME() Set the DOS system time
.br
.ta
.ta 1.28i
.br
FT_SYSMEM() Determine the amount of conventional memory installed
.br
.ta
.ta 1.28i
.br
FT_TEMPFIL() Create a file with a unique name
.br
.ta
.bp
.ps +2
.vs +2
Database
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_FDEC() Return the number of decimals in a numeric (type "N") field\.
.br
.ta
.ta 1.28i
.br
FT_FEMPTY() Determine if a field is empty, i\.e\., contains no value\.
.br
.ta
.ta 1.28i
.br
FT_FEXIST() Check for the existence of a field\.
.br
.ta
.ta 1.28i
.br
FT_FLEN() Return a field\'s length\.
.br
.ta
.ta 1.28i
.br
FT_FNUM() Return a field\'s ordinal position given the field name\.
.br
.ta
.ta 1.28i
.br
FT_FPLACE() Write a new value to a field\.
.br
.ta
.ta 1.28i
.br
FT_FTYPE() Return a field\'s type, given field name or ordinal position
.br
.ta
.ta 1.28i
.br
FT_FVAL() Return the value of a field\.
.br
.ta
.ta 1.28i
.br
FT_FVALLEN() Return the length of the value in a field\.
.br
.ta
.bp
.ps +2
.vs +2
Date/Time
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_ACCTADJ() Adjust beginning or ending fiscal pd\. dates to acctg\. dates
.br
.ta
.ta 1.28i
.br
FT_ACCTMONTH() Return accounting month data
.br
.ta
.ta 1.28i
.br
FT_ACCTQTR() Return accounting quarter data
.br
.ta
.ta 1.28i
.br
FT_ACCTWEEK() Return accounting week data
.br
.ta
.ta 1.28i
.br
FT_ACCTYEAR() Return accounting year data
.br
.ta
.ta 1.28i
.br
FT_ADDWKDY() Return true number of days to add given number of workdays
.br
.ta
.ta 1.28i
.br
FT_CALENDAR() Display date/time calendar, find a date, return calendar dat
.br
.ta
.ta 1.28i
.br
FT_CIV2MIL() Convert usual civilian format time to military time\.
.br
.ta
.ta 1.28i
.br
FT_DATECNFG() Set beginning of year/week for FT_ date functions
.br
.ta
.ta 1.28i
.br
FT_DAYOFYR() Return calendar, fiscal or accounting day data
.br
.ta
.ta 1.28i
.br
FT_DAYTOBOW() Calculate no\. of days between date and beginning of week
.br
.ta
.ta 1.28i
.br
FT_DOY() Find number of day within year
.br
.ta
.ta 1.28i
.br
FT_EASTER() Return the date of Easter
.br
.ta
.ta 1.28i
.br
FT_ELAPMIN() Return difference, in minutes, between two mil format times\.
.br
.ta
.ta 1.28i
.br
FT_ELAPSED() Return elapsed time between two days and/or times
.br
.ta
.ta 1.28i
.br
FT_ELTIME() Compute difference between times in hours, minutes, seconds\.
.br
.ta
.ta 1.28i
.br
FT_FDAY() Return first day of the month
.br
.ta
.ta 1.28i
.br
FT_LDAY() Return last day of the month
.br
.ta
.ta 1.28i
.br
FT_MADD() Add or subtract months to/from a date
.br
.ta
.ta 1.28i
.br
FT_MIL2CIV() Convert time in military format to civilian format\.
.br
.ta
.ta 1.28i
.br
FT_MIL2MIN() Convert time in military format to number of minute of day\.
.br
.ta
.ta 1.28i
.br
FT_MIN2DHM() Convert numeric minutes to days, hours and minutes\.
.br
.ta
.ta 1.28i
.br
FT_MIN2MIL() Convert minute of day to military format time\.
.br
.ta
.ta 1.28i
.br
FT_MONTH() Return Calendar or Fiscal Month Data
.br
.ta
.ta 1.28i
.br
FT_QTR() Return Calendar or Fiscal Quarter Data\.
.br
.ta
.ta 1.28i
.br
FT_SYS2MIL() Convert system time to military time format\.
.br
.ta
.ta 1.28i
.br
FT_WEEK() Return calendar or fiscal week data
.br
.ta
.ta 1.28i
.br
FT_WORKDAYS() Return number of work days between two dates
.br
.ta
.ta 1.28i
.br
FT_WOY() Find number of week within year
.br
.ta
.ta 1.28i
.br
FT_YEAR() Return calendar or fiscal year data
.br
.ta
.bp
.ps +2
.vs +2
Environment
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_COM3OR4() Enable use of COM3 and/or COM4 on IBM/PC compatables\.
.br
.ta
.ta 1.28i
.br
FT_DIR2DB() Create \.DBF of directory files, using DOS filespec
.br
.ta
.ta 1.28i
.br
FT_EXIST() Test for existence of drive and/or subdirectory
.br
.ta
.ta 1.28i
.br
FT_GETE() Return the entire current environment
.br
.ta
.ta 1.28i
.br
FT_LINKED() Determine if a function was linked in
.br
.ta
.ta 1.28i
.br
FT_ORIGIN() Report the drive, path and filename of the executing program
.br
.ta
.ta 1.28i
.br
FT_RESTSETS() Restore status of all SET command settings
.br
.ta
.ta 1.28i
.br
FT_SAVESETS() Save the status of all the SET command settings
.br
.ta
.br
FT_SETCENTURY() Check/Set the CENTURY Setting
.ta 1.28i
.br
FT_TREE() Locate all directories and subdirectories on a drive
.br
.ta
.ta 1.28i
.br
FT_WHEREIS() Locate all occurrences of a filespec on a drive
.br
.ta
.bp
.ps +2
.vs +2
File I/O
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_DFCLOSE() Close file displayed by FT_DISPFILE()
.br
.ta
.ta 1.28i
.br
FT_DFSETUP() Set up parameters for FT_DISPFILE()
.br
.ta
.ta 1.28i
.br
FT_DISPFILE() Browse a text file
.br
.ta
.ta 1.28i
.br
FT_FEOF() Determine when end of text file is encountered
.br
.ta
.ta 1.28i
.br
FT_FGOBOT() Go to the last record in a text file
.br
.ta
.ta 1.28i
.br
FT_FGOTO() Move record pointer to specific record in a text file
.br
.ta
.ta 1.28i
.br
FT_FGOTOP() Go to the first record in a text file
.br
.ta
.ta 1.28i
.br
FT_FLASTREC() Determine the no\. of records in the currently selected text
.br
.ta
.ta 1.28i
.br
FT_FREADLN() Read a line from the currently selected text file
.br
.ta
.ta 1.28i
.br
FT_FRECNO() Return the current record number of a text file
.br
.ta
.ta 1.28i
.br
FT_FSELECT() Select a text file workarea
.br
.ta
.ta 1.28i
.br
FT_FSKIP() Move the record pointer to a new position in a text file
.br
.ta
.ta 1.28i
.br
FT_FUSE() Open or close a text file for use by the FT_F* functions
.br
.ta
.bp
.ps +2
.vs +2
Game
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_PEGS() FT_PEGS GAME (all work and no play\.\.\.)
.br
.ta
.bp
.ps +2
.vs +2
Keyboard/Mouse
.ps -2
.vs -2
.sp
.ta 1.28i
.br
FT_ALT() Determine status of the Alt key
.br
.ta
.ta 1.28i
.br
FT_CAPLOCK() Determine and optionally change the status of CapLock key
.br
.ta
.ta 1.28i
.br
FT_CTRL() Determine status of the Ctrl key
.br
.ta
.ta 1.28i
.br
FT_MBUTPRS() Retrieve button press status
.br
.ta
.ta 1.28i
.br
FT_MBUTREL() Get mouse button release information
.br
.ta
.ta 1.28i
.br
FT_MCURSOR() Set the mouse cursor
.br
.ta
.ta 1.28i
.br
FT_MDBLCLK() Return true if a double click was detected
.br
.ta
.ta 1.28i
.br
FT_MDEFCRS() Define the mouse cursor
.br
.ta
.ta 1.28i
.br
FT_MGETPOS() Get mouse cursor position and button status
.br
.ta
.ta 1.28i
.br
FT_MGETX() Get mouse cursor row position
.br
.ta
.ta 1.28i
.br
FT_MGETY() Get mouse cursor column position
.br
.ta
.ta 1.28i
.br
FT_MHIDECRS() Decrement internal mouse cursor flag and hide mouse cursor
.br
.ta
.ta 1.28i
.br
FT_MINREGION() Test if the mouse cursor is in the passed region
.br
.ta
.ta 1.28i
.br
FT_MMICKEYS() Get mickeys
.br
.ta
.ta 1.28i
.br
FT_MRESET() Reset mouse driver and return status of mouse
.br
.ta
.ta 1.28i
.br
FT_MSETPOS() Position the mouse cursor
.br
.ta
.ta 1.28i
.br
FT_MSHOWCRS() Increment internal cursor flag and display mouse cursor
.br
.ta
.ta 1.28i
.br
FT_MXLIMIT() Set vertical bounds of mouse travel
.br
.ta
.ta 1.28i
.br
FT_MYLIMIT() Set horizontal bounds of mouse travel
.br
.ta
.ta 1.28i
.br
FT_NUMLOCK() Return status of NumLock key
.br
.ta
.ta 1.28i
.br
FT_PRTSCR() Enable or disable the Print Screen key
.br
.ta
.ta 1.28i
.br
FT_PUTKEY() Stuff a keystroke into the keyboard buffer
.br
.ta
.ta 1.28i
.br
FT_SCANCODE() Wait for keypress and return keyboard scan code
.br
.ta
.ta 1.28i
.br
FT_SETRATE() Set the keyboard delay and repeat rate on PC/AT & PS/2
.br
.ta
.ta 1.28i
.br
FT_SHIFT() Determine status of shift key
.br
.ta
.ta 1.28i
.br
FT_SINKEY() Replacement for INKEY() that tests for SET KEY procedures
.br
.ta
.bp