





                         
                         
                                  
                                  
                                  
                   
                              
                                
                                          
                                          
                                         
                                          
                                      
                    
                       








                CLIX Full Featured Library for Clipper 5.x

                               VERSION 1.0


              (c) 1994 BERNATH COMPUTER all rights reserved

                             BERNATH COMPUTER
                            4401 Wolverine Way
                            Antioch, CA 94509
                              (510) 778-4423





     CLIX  Full Featured Library for Clipper 5.x              Page iii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS


     ALPHABETIC FUNCTION LIST

     @PROMPT MENU TO  - Alternate menu system...............................4
     ACQ()            - A)ccept, C)hange, Q)uit prompt......................6
     Adapter()        - Returns information about video adapter.............7
     Add2Time()       - Add a time (string or seconds) to a date/time pair..8
     AddHotSpot()     - Add a hotspot definition to the stack...............9
     AddRec()         - Append blank and lock record........................10
     AmortPrd()       - Calculates total princ, int, balance for a period...11
     Any2Str()        - Converts C, L, D, N datatypes to a string...........12
     ARRAY BROWSE     - ...................................................13
     ArrayAvg()       - Averages the elements of a numberic array...........14
     AssignWCargo()   - Assign values to a window object's cargo slot.......15
     AtPos()          - Find the nth occurence of a substring in a string...16
     AutoMenu()       - Self centering menu function........................17
     Between()        - Tests whether a variable is between two limits......19
     BOM()            - Returns date for beginning of month.................20
     BOQ()            - Returns date for beginning of quarter...............21
     BrowKeys()       - Configurable key handling for tbrowse...............22
     BROWSE COMMAND   - Browse() function with command interface............23
     BrowseCursor()   - Implements a frame - wide cursor for a tbrowse......27
     CapturePrt()     - Begin printer capture for Novell Netware............28
     CARGO DICTIONARY - ...................................................29
     CargoDel()       - Remove dictionary item..............................30
     CargoGet()       - Retrieve dictionary item............................31
     CargoNew()       - Initialize dictionary...............................32
     CargoPut()       - Add/replace dictionary item.........................33
     CenterLine()     - Center text on a row................................34
     CHECK BOXES      - Check box GET type..................................35
     CheckAmt()       - Converts a check amount to English..................36
     ChgDir()         - Change directory....................................37
     ChgPath()        - Change DOS disk and directory.......................38
     ChkLevel()       - Test security authorization for a process...........39
     ChronBefore()    - Compare date/time pairs for ASORT().................40
     ChuzPrt()        - Picklist for available printers.....................41
     ClixSet()        - Like Clipper's SET() except user defined............42
     Clr2Attr()       - Converts a colorpair to attribute (BG*16+FG)........43
     Clr2Dig()        - Convert a dBase format color to a digit 0-15........44
     COLOR PALETTE    - ...................................................45
     COLOR SCHEMES    - ...................................................46
     ColorMgr()       - Color manager.......................................49
     COMBO BOXES      - Like a listbox, but lets you type in a new value....50
     COMPILE()        - Converts a "codeblock string" to a codeblock........52
     Confirm()        - Displays and prompts for a Y/N......................53
     CoolSpot()       - Disable a hotspot...................................54
     CopyFields()     - Copies fields from one dbf to another with scoping..55
     CPUType()        - Returns a number corresponing to the CPU type.......58
     CreateDir()      - Make a directory....................................59
     CSetLoaded()     - Returns .t. if a color set has been loaded..........60
     CSetName()       - Return current color set name.......................61
     Currency()       - Formats a numeric as a currency string..............62
     DATA DICTIONARY  - Utility for maintaining index dictionary and print..63


     CLIX  Full Featured Library for Clipper 5.x              Page iv
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     DbfFlagDisp()    - Displays flag for a field in a tbrowse..............65
     dbRefresh()      - Forces a full refresh on a tbrowse..................66
     Decrypt()        - Un-encrypt a string.................................67
     DEFAULT          - Facilitates setting default values for parameters...68
     DelStack()       - Delete an item from the stack.......................69
     Depress()        - Momentarily "depresses" and releases a 3d type box..70
     Dialog()         - An enhanced, mouse aware version of Alert().........71
     Dig2Str()        - Converts integer to a trimmed string................72
     DirEval()        - Executes a codeblock for files matching a spec......73
     DirTree()        - Popups up a listbox of a directory tree.............74
     DispMark()       - Col object function to display checkmark in browse..75
     DoPullDown()     - Mouseable pulldown menu system......................76
     DrawBox()        - Draw exploding boxes with shadows, titles...........79
     EditCell()       - Tbrowse method to edit a cell.......................81
     EditMemo()       - Boxed memoedit processor............................82
     Elapsed()        - Calculate elapsed time between date/time pairs......83
     Encrypt()        - Encrypt a string....................................84
     EndCapture()     - End printer capture for Novell Netware..............85
     EnhColor()       - Returns the second color from a color string........86
     EOM()            - Returns date for end of month.......................87
     EOQ()            - Returns the date for the end of the quarter.........88
     EraseDir()       - Erase Directory.....................................89
     ErrMsg()         - Generic error message window........................90
     Fade()           - Slideshow type fades for displaying screen images...91
     FEof()           - Returns .T. if pointer is at end of a binary file...93
     FIELD HEADERS    - Utility to create #define headers for dbf fields....94
     FileBottom()     - Positions pointer at the end of a binary file.......96
     FilePos()        - Returns the current position of the file pointer....97
     Filer()          - File manipulation module with directory tree........98
     FileSize()       - Returns the size of a binary file...................99
     FileTop()        - Positions pointer at top of a binary file...........100
     FillBG()         - Fill screen with a character........................101
     FilLock()        - File lock...........................................102
     FILTERED TBROWSE - TBrowse implementing WHILE and FOR scopes...........103
     FlipText()       - Flip a delineated text string.......................105
     FReadLn()        - Read a line of text from a file.....................106
     ft_Byt2Hex()     - Convert a character to a hexadecimal string.........107
     ft_default()     - Get / Set function for default disk drive...........108
     ft_Hex2Dec()     - Convert a hexadecimal string to a decimal number....109
     ft_int86()       - Interface to interrupt caller.......................110
     FWriteLn()       - Write a line of text to a file......................112
     Gather()         - Saves data from an array to a record................113
     GaugeDisplay()   - Display a moving bar gauge..........................114
     GaugeNew()       - Initialize a moving bar gauge.......................115
     GaugeUpdate()    - Update the progress of a moving bar gauge...........116
     GENERIC UDF      - Format for UDF called by GenericEd()................118
     GenericEd()      - Generic Data Entry screen...........................120
     GET HOTKEY       - Activate a hotkey local to a single GET.............124
     GetCSetElem()    - Returns an element from the current color set.......125
     GetDrvrList()    - Get list of .PRT driver files.......................126
     GetFile()        - Popup picklist for files. Single select or tag......127
     GetMnuColors()   - Extract menu colors from a color scheme.............128


     CLIX  Full Featured Library for Clipper 5.x              Page v
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     GetOrdinal()     - Returns the ordinal position of the current GET.....129
     GetPair()        - Get a color pair from a color scheme................130
     GetPW()          - Password data entry echoes back *...................131
     GetSeed()        - Return the current random seed value................132
     GetSpotStak()    - Returns the current HotSpot stack...................133
     GetStack()       - Returns the entire stack as an array................134
     GETSYSPP         - Alternate Getsys module.............................135
     GetTBColors()    - Extract tbrowse colors from a color scheme..........136
     GetUserLevel()   - Returns the current users security level............137
     GetWObj()        - Returns a window object (array).....................138
     GotoBott()       - Go bottom method for filtered tbrowse...............139
     GotoTop()        - Go top block method for filtered tbrowse............140
     GrafPath()       - Returns array filled with a directory structure.....141
     GtZero()         - Validates that a numeric is positive................142
     HELP DESIGNER    - Interactively design Help Windows...................143
     HELPKEY          - Defines the key to access popup help with...........144
     HideWind()       - Make a window object invisible......................145
     HorzLine()       - Draws a horizontal line with "smart" intersections..146
     HOTSPOTS         - ...................................................147
     INCREMENTAL DATE - Date field has "spinner" to inc/dec date............148
     IndxStatus()     - Index routine with moving bar status gauge..........149
     IsEsc()          - Determine if a printer attribute is defined.........150
     IsGoodPath()     - Checks whether a path is valid (exists).............151
     IsOnTop()        - Returns .t. if the specified window in on top.......152
     Julien()         - Converts a date to a Julien number..................153
     KeyInsert()      - Toggles cursor size when INS key is pressed.........154
     KeySet()         - Alternative to SET KEY TO implementing a stack......155
     KillAllW()       - Remove all window objects...........................156
     KillKeys()       - Removes browse keys from the stack..................157
     KillSpotStak()   - Remove a hotspot stack level........................158
     KillWind()       - Remove a window object definition...................159
     LeadZero()       - Pads a numeric with leading 0's and returns as str..160
     LoadCSet()       - Load a color set from disk..........................161
     LoadDrvr()       - Load printer driver data............................162
     LoadPrt()        - Load printer driver.................................163
     Lookup()         - Validates a GET entry against a lookup database.....164
     MakeTemp()       - Make a temporary file...............................167
     MakeWind()       - Create a window object..............................168
     MarkAllRecs()    - Mark all records in a taggable tbrowse..............169
     MarkCount()      - Return number of marked records in a tag tbrowse....170
     MarkIt()         - Function toggles checkmarks in taggable browse......171
     MarksNew()       - Initialize check marks for taggable tbrowse.........173
     MaxALen()        - Returns length of longest element in an array.......174
     MChoice()        - Mouseable ACHOICE() substitute built from tbrowse...175
     MDY()            - Converts a date to a Month dd, yyyy string..........177
     MergeMarks()     - Merge an array of marks into the existing marks.....178
     MODIFY STRUCTURE - Create / Modify DBF structure.......................179
     MortPart()       - Mortgage part (princ, term, rate, pmt) analysis.....180
     MOUSE            - ...................................................181
     MouseArea()      - Restricts mouse cursor movement to an area..........182
     MouseInit()      - Initialize the mouse................................183
     MouseOff()       - Turn the mouse cursor off...........................184


     CLIX  Full Featured Library for Clipper 5.x              Page vi
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     MouseOn()        - Turn the mouse cursor on............................185
     MouseRead()      - Returns mouse status information....................186
     MovePointer()    - Skip block for filtered tbrowse.....................188
     MoveWind()       - Move a window object................................189
     MsgBox()         - Generic message box sizes itself to the message.....190
     MultiBrowse()    - Parent / Child / GrandChild etc browser.............191
     MULTILOCK        - MULTILOCK command locks multiple records............195
     NetUse()         - Open file in shared/exclusive.......................197
     NewSpotStak()    - Create a new hotspot stack level....................198
     NextHndl()       - Return the next available handle....................199
     NextMonth()      - Returns date for the next month with same day.......200
     NICNum()         - Retrieve Network interface card number..............201
     NormColor()      - Returns the first color pair from a color string....202
     NotEmpty()       - Validates that a value if not empty()...............203
     OpenDbf()        - Generic open DBF and index with fault checking......204
     OrigPath()       - Returns the path to the current executable..........206
     Palette()        - Set color palette...................................207
     ParseQual()      - Parse a filespec into drive, path, file, extension..208
     Pause()          - Enhanced 'Press any key to continue....' prompter...209
     PDrvrLoaded()    - Returns .t. if a printer driver has been loaded.....210
     PgHead()         - Generic report header...............................211
     PickCSet()       - Picklist of available color sets....................213
     PickList()       - Popup picklist with single select or multiple tag...214
     PickNOrder()     - Picklist of fields with ordering....................216
     Play()           - Play a sequence of notes............................217
     PopAscii()       - Popup ascii table...................................218
     Popcolor()       - Restores a color saved by Pushcolor()...............219
     PopCursor()      - Restore the state of the cursor.....................220
     PopDbf()         - Restore workarea information from the stack.........221
     PopFields()      - Popup picklist of database fields...................222
     PopKeys()        - Restores a set of SET KEY's from the setkey stack...224
     PopMsgStyle()    - Pops the MESSAGE parameters off stack...............225
     PopStack()       - Retrieve an item from the stack.....................226
     POPUP HELP       - Popup Help Windows..................................227
     PopWind()        - Displays a simple popup window......................228
     PosCell()        - Position row,col to display data in tables..........229
     PReady()         - Tests local printer status..........................230
     PrintFile()      - Print a text file...................................231
     Proper()         - Proper capitalize a string..........................232
     PrtMaint()       - Printer maintenance utility module..................233
     PrtReady()       - Tests if a printer is ready, displays dialog........234
     Pushcolor()      - Saves / sets the current SETCOLOR() value...........235
     PushCursor()     - Save the state of the cursor........................236
     PushDbf()        - Save workarea information to a stack................237
     PushKeys()       - Saves the current set of SET KEY's on a stack.......238
     PushMsgStyle()   - Saves MESSAGE parameters on a stack.................239
     PushStack()      - Save an item on a stack.............................240
     PutCSet()        - Define the current color set explicitly.............241
     PutCSetElem()    - Puts an item into an element of the current colors..242
     PutEscCodes()    - Update the Escape code array directly...............243
     PutGet()         - Update a GET field even if it is not in focus.......244
     PutPrtInfo()     - Set information about the current printer driver....245


     CLIX  Full Featured Library for Clipper 5.x              Page vii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     PutSpotStak()    - Replace the current hotspot stack...................246
     QUERY            - ...................................................247
     Query()          - Menu driven Query expression builder................248
     RADIO BUTTONS    - Radio Button GET type...............................250
     Rand()           - Return a random integer.............................252
     RANDOM FUNCTIONS - ...................................................253
     Randomize()      - Randomize the current random seed value.............254
     RandStr()        - Return a string made of random characters...........255
     ReadChar()       - Pull character and attribute from the screen........256
     ReadGetList()    - Returns GetList array for the current READ layer....257
     ReadModal()      - GET's with alternate inkey() and pre/post blocks....258
     ReadPos()        - Return the ordinal GET position or jump to a GET....259
     ReadScrn()       - Reads a screen image file into a variable...........260
     RecArea()        - Recolors an area without changing the text..........261
     RecCopy()        - Copies/moves a record to a similar DBF..............262
     RecLock()        - Record lock.........................................264
     RemHotSpot()     - Remove a hotspot definition from the stack..........265
     REPEAT UNTIL     - REPEAT UNTIL command................................266
     ResetPal()       - Reset color palette to default colors...............267
     RetEscCodes()    - Returns currently loaded escape code array..........268
     RetPrtInfo()     - Returns info about the current printer driver.......269
     ReturnCSet()     - Return the color set as an array....................270
     ReturnMarks()    - Return array of keys for tagged records in browse...271
     RightJust()      - Right justify and display a string..................272
     RLJust()         - Right / left justify two strings....................273
     RouteOut()       - Dialog to route output to screen, local, network....274
     SaveCSet()       - Save a color set to disk............................275
     SayGetClr()      - Extract @ SAY ... GET colors from a color scheme....276
     SayInWin()       - Display text in a window subject to its boundaries..277
     Scatter()        - Copies record contents into an array................278
     SchmDesig()      - Extracts cheme number from scheme designator........279
     ScrHead()        - Generic Screen Header...............................280
     Scrn2File()      - Saves the current screen to a file..................281
     ScrollBox()      - Performs a timed scroll of an area..................282
     ScrollWind()     - Scroll text within a window.........................283
     Secs2Time()      - Convert number of seconds to a time string..........284
     SECURITY         - ...................................................285
     SeekLast()       - Seek for the last occurence matching a key..........286
     SendEsc()        - Send escape codes to the printer....................287
     SET MESSAGE TO   - Enhanced SET MESSAGE TO command.....................288
     SetMouse()       - GET/SET block for turning mouse cursor on or off....289
     SetPair()        - Set a color pair in a color scheme..................290
     SetQry()         - Set the current Query expression....................291
     SetupKeys()      - Initialize standard tbrowse key handler.............292
     ShadSay()        - @ SAY with small shadow.............................294
     ShowWind()       - Make a window object visible........................295
     Sign()           - Returns the sign of a number........................296
     SIMPLE WINDOWS   - ...................................................297
     SINGLE LINE HELP - Status line help message for GETS and MENUS.........298
     SizeWind()       - Resize a window object..............................299
     SOUND EFFECTS    - Various sound effects...............................300
     Spinner()        - Displays a spinning dealybob to indicate progress...301


     CLIX  Full Featured Library for Clipper 5.x              Page viii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     SrchHndl()       - Locates an item in the stack........................302
     SrchHotSpot()    - Determine if coordinates are within a hotspot area..303
     STACK FUNCTIONS  - ...................................................304
     StatMsg()        - Status line message.................................305
     StatPrompt()     - Status line message accepts from list of good keys..306
     StatWin()        - Displays a boxed status line message................307
     Str2Arr()        - Converts a delimited string to an array.............308
     STRUCTURE TO PRG - Generates code to create a database.................309
     Sum()            - Adds a value to a field.............................310
     TAG BROWSE       - Functions to implement a taggable tbrowse...........311
     tbArrGoBott()    - Gobottomblock for tbrowsing an array................312
     tbArrGoTop()     - Gotopblock for tbrowsing an array...................313
     tbArrSkip()      - Skipblock for array browsing........................314
     TBROWSE KEYS     - Key Processing for tbrowse..........................316
     TBROWSE METHODS  - ...................................................320
     TEXT PROCESSING  - ...................................................321
     TextPress()      - Simulates the pressing of a text button.............322
     ThisUser()       - Return security info about the current user.........323
     Time24to12()     - Convert 24 time string to 12 hour with am/pm........324
     Time2Secs()      - Convert a time string to # of seconds past midnite..325
     ToggleFlag()     - Toggle the state of a flag field....................326
     ToggleMarks()    - Mark a specified set of records in a tag tbrowse....327
     TopStack()       - Moves an item to the top of the stack...............328
     TxtAppend()      - Append a line to a text file........................329
     TxtBOF()         - Test if at beginning of text file...................330
     TxtClose()       - Close a text file...................................331
     TxtEOF()         - Test if at end of a text file.......................332
     TxtGoBottom()    - Go to last line in a text file......................333
     TxtGoto()        - Go to a line in a text file.........................334
     TxtGoTop()       - Go to first line in a text file.....................335
     TxtInit()        - Initializes text file access........................336
     TxtLineCount()   - Returns the number of lines in a text file..........337
     TxtLineNo()      - Returns number of current line in a text file.......338
     TxtLocate()      - Search for text in a text file......................339
     TxtRead()        - Read a line from a text file........................340
     TxtSelect()      - Select a text file work area........................341
     TxtSkip()        - Skip line(s) in a text file.........................342
     TxtUse()         - Open a text file....................................343
     UnPop()          - Restores a window created by PopWind()..............344
     UserChgPW()      - Allow a user to change their password...............345
     UserLogin()      - Login routine with passwords and security levels....346
     UserMaint()      - Supervisor's security maintenance module............347
     USkipper()       - :skipblock for UNIQUE browsing......................348
     UTILITIES        - ...................................................349
     VALIDATION       - ...................................................350
     ValMsg()         - Validation function beeps and displays error msg....351
     VertLine()       - Draws a vertical line with "smart" intersections....352
     VertMenu()       - Vertical popup menu.................................353
     ViewFile()       - View a text file and optionally send it to printer..355
     WaitEvent()      - Traps keystrokes and mouse events...................356
     WarmSpot()       - Enable a hotspot....................................358
     WhatAge()        - Calculates age based on birthdate...................359


     CLIX  Full Featured Library for Clipper 5.x              Page ix
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     Win2Top()        - Move a window object to top of window stack.........360
     WINDOW OBJECTS   - ...................................................361
     Xdelim()         - Extract the nth "record" from a delimited string....362
     XScheme()        - Extracts colors from a scheme or returns color......363


     CLIX  Full Featured Library for Clipper 5.x              Page x
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     FUNCTION LIST BY FUNCTIONALITY


     ARRAY           
     MaxALen()        - Returns length of longest element in an array.......174
     Str2Arr()        - Converts a delimited string to an array.............308
     ArrayAvg()       - Averages the elements of a numberic array...........14

     BOX_WINDOWS     
     Depress()        - Momentarily "depresses" and releases a 3d type box..70
     SIMPLE WINDOWS   - ...................................................297
     UnPop()          - Restores a window created by PopWind()..............344
     DrawBox()        - Draw exploding boxes with shadows, titles...........79
     PopWind()        - Displays a simple popup window......................228

     BROWSE          
     FILTERED TBROWSE - TBrowse implementing WHILE and FOR scopes...........103
     ToggleFlag()     - Toggle the state of a flag field....................326
     KillKeys()       - Removes browse keys from the stack..................157
     TBROWSE METHODS  - ...................................................320
     MarkCount()      - Return number of marked records in a tag tbrowse....170
     MarkAllRecs()    - Mark all records in a taggable tbrowse..............169
     ReturnMarks()    - Return array of keys for tagged records in browse...271
     ToggleMarks()    - Mark a specified set of records in a tag tbrowse....327
     MarkIt()         - Function toggles checkmarks in taggable browse......171
     DbfFlagDisp()    - Displays flag for a field in a tbrowse..............65
     TAG BROWSE       - Functions to implement a taggable tbrowse...........311
     dbRefresh()      - Forces a full refresh on a tbrowse..................66
     tbArrGoBott()    - Gobottomblock for tbrowsing an array................312
     TBROWSE KEYS     - Key Processing for tbrowse..........................316
     SetupKeys()      - Initialize standard tbrowse key handler.............292
     tbArrSkip()      - Skipblock for array browsing........................314
     GotoBott()       - Go bottom method for filtered tbrowse...............139
     GotoTop()        - Go top block method for filtered tbrowse............140
     tbArrGoTop()     - Gotopblock for tbrowsing an array...................313
     USkipper()       - :skipblock for UNIQUE browsing......................348
     MChoice()        - Mouseable ACHOICE() substitute built from tbrowse...175
     MergeMarks()     - Merge an array of marks into the existing marks.....178
     DispMark()       - Col object function to display checkmark in browse..75
     BrowKeys()       - Configurable key handling for tbrowse...............22
     ARRAY BROWSE     - ...................................................13
     MultiBrowse()    - Parent / Child / GrandChild etc browser.............191
     MovePointer()    - Skip block for filtered tbrowse.....................188
     EditCell()       - Tbrowse method to edit a cell.......................81
     MarksNew()       - Initialize check marks for taggable tbrowse.........173
     BrowseCursor()   - Implements a frame - wide cursor for a tbrowse......27
     BROWSE COMMAND   - Browse() function with command interface............23

     CARGO           
     CargoNew()       - Initialize dictionary...............................32
     CargoGet()       - Retrieve dictionary item............................31
     CargoPut()       - Add/replace dictionary item.........................33


     CLIX  Full Featured Library for Clipper 5.x              Page xi
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     CARGO DICTIONARY - ...................................................29
     CargoDel()       - Remove dictionary item..............................30

     COLOR           
     GetCSetElem()    - Returns an element from the current color set.......125
     PickCSet()       - Picklist of available color sets....................213
     EnhColor()       - Returns the second color from a color string........86
     PutCSet()        - Define the current color set explicitly.............241
     LoadCSet()       - Load a color set from disk..........................161
     ReturnCSet()     - Return the color set as an array....................270
     SaveCSet()       - Save a color set to disk............................275
     SayGetClr()      - Extract @ SAY ... GET colors from a color scheme....276
     PutCSetElem()    - Puts an item into an element of the current colors..242
     ResetPal()       - Reset color palette to default colors...............267
     Pushcolor()      - Saves / sets the current SETCOLOR() value...........235
     GetMnuColors()   - Extract menu colors from a color scheme.............128
     NormColor()      - Returns the first color pair from a color string....202
     GetTBColors()    - Extract tbrowse colors from a color scheme..........136
     GetPair()        - Get a color pair from a color scheme................130
     SchmDesig()      - Extracts cheme number from scheme designator........279
     SetPair()        - Set a color pair in a color scheme..................290
     Popcolor()       - Restores a color saved by Pushcolor()...............219
     Palette()        - Set color palette...................................207
     Clr2Dig()        - Convert a dBase format color to a digit 0-15........44
     Clr2Attr()       - Converts a colorpair to attribute (BG*16+FG)........43
     COLOR PALETTE    - ...................................................45
     CSetLoaded()     - Returns .t. if a color set has been loaded..........60
     XScheme()        - Extracts colors from a scheme or returns color......363
     CSetName()       - Return current color set name.......................61
     ColorMgr()       - Color manager.......................................49
     COLOR SCHEMES    - ...................................................46

     COMMAND         
     ClixSet()        - Like Clipper's SET() except user defined............42
     DEFAULT          - Facilitates setting default values for parameters...68
     COMPILE()        - Converts a "codeblock string" to a codeblock........52
     REPEAT UNTIL     - REPEAT UNTIL command................................266

     DATA_ENTRY      
     GENERIC UDF      - Format for UDF called by GenericEd()................118
     CHECK BOXES      - Check box GET type..................................35
     Dialog()         - An enhanced, mouse aware version of Alert().........71
     INCREMENTAL DATE - Date field has "spinner" to inc/dec date............148
     KeyInsert()      - Toggles cursor size when INS key is pressed.........154
     GenericEd()      - Generic Data Entry screen...........................120
     GET HOTKEY       - Activate a hotkey local to a single GET.............124
     COMBO BOXES      - Like a listbox, but lets you type in a new value....50
     WaitEvent()      - Traps keystrokes and mouse events...................356
     RADIO BUTTONS    - Radio Button GET type...............................250
     EditMemo()       - Boxed memoedit processor............................82


     CLIX  Full Featured Library for Clipper 5.x              Page xii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....



     DATE_TIME       
     NextMonth()      - Returns date for the next month with same day.......200
     WhatAge()        - Calculates age based on birthdate...................359
     Add2Time()       - Add a time (string or seconds) to a date/time pair..8
     ChronBefore()    - Compare date/time pairs for ASORT().................40
     Elapsed()        - Calculate elapsed time between date/time pairs......83
     Secs2Time()      - Convert number of seconds to a time string..........284
     Julien()         - Converts a date to a Julien number..................153
     EOQ()            - Returns the date for the end of the quarter.........88
     EOM()            - Returns date for end of month.......................87
     Time24to12()     - Convert 24 time string to 12 hour with am/pm........324
     BOM()            - Returns date for beginning of month.................20
     MDY()            - Converts a date to a Month dd, yyyy string..........177
     Time2Secs()      - Convert a time string to # of seconds past midnite..325
     BOQ()            - Returns date for beginning of quarter...............21

     DOS             
     ChgPath()        - Change DOS disk and directory.......................38
     ft_int86()       - Interface to interrupt caller.......................110
     EraseDir()       - Erase Directory.....................................89
     ft_default()     - Get / Set function for default disk drive...........108
     DirTree()        - Popups up a listbox of a directory tree.............74
     IsGoodPath()     - Checks whether a path is valid (exists).............151
     GetFile()        - Popup picklist for files. Single select or tag......127
     OrigPath()       - Returns the path to the current executable..........206
     GrafPath()       - Returns array filled with a directory structure.....141
     CreateDir()      - Make a directory....................................59
     ChgDir()         - Change directory....................................37

     FILE            
     OpenDbf()        - Generic open DBF and index with fault checking......204
     TxtUse()         - Open a text file....................................343
     ViewFile()       - View a text file and optionally send it to printer..355
     TxtSelect()      - Select a text file work area........................341
     MakeTemp()       - Make a temporary file...............................167
     TxtSkip()        - Skip line(s) in a text file.........................342
     TxtRead()        - Read a line from a text file........................340
     TxtEOF()         - Test if at end of a text file.......................332
     TEXT PROCESSING  - ...................................................321
     FileTop()        - Positions pointer at top of a binary file...........100
     TxtLineCount()   - Returns the number of lines in a text file..........337
     FileSize()       - Returns the size of a binary file...................99
     TxtGoBottom()    - Go to last line in a text file......................333
     TxtLineNo()      - Returns number of current line in a text file.......338
     FWriteLn()       - Write a line of text to a file......................112
     TxtGoto()        - Go to a line in a text file.........................334
     TxtInit()        - Initializes text file access........................336
     FReadLn()        - Read a line of text from a file.....................106
     TxtGoTop()       - Go to first line in a text file.....................335
     TxtAppend()      - Append a line to a text file........................329
     FileBottom()     - Positions pointer at the end of a binary file.......96


     CLIX  Full Featured Library for Clipper 5.x              Page xiii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     TxtLocate()      - Search for text in a text file......................339
     TxtClose()       - Close a text file...................................331
     TxtBOF()         - Test if at beginning of text file...................330
     Filer()          - File manipulation module with directory tree........98
     DirEval()        - Executes a codeblock for files matching a spec......73
     FEof()           - Returns .T. if pointer is at end of a binary file...93
     FilePos()        - Returns the current position of the file pointer....97

     FINANCIAL       
     AmortPrd()       - Calculates total princ, int, balance for a period...11
     MortPart()       - Mortgage part (princ, term, rate, pmt) analysis.....180

     GAUGE           
     IndxStatus()     - Index routine with moving bar status gauge..........149
     Spinner()        - Displays a spinning dealybob to indicate progress...301
     GaugeDisplay()   - Display a moving bar gauge..........................114
     GaugeNew()       - Initialize a moving bar gauge.......................115
     GaugeUpdate()    - Update the progress of a moving bar gauge...........116

     GET             
     ReadPos()        - Return the ordinal GET position or jump to a GET....259
     ReadModal()      - GET's with alternate inkey() and pre/post blocks....258
     ReadGetList()    - Returns GetList array for the current READ layer....257
     PutGet()         - Update a GET field even if it is not in focus.......244
     GETSYSPP         - Alternate Getsys module.............................135
     GetOrdinal()     - Returns the ordinal position of the current GET.....129

     HARDWARE        
     CPUType()        - Returns a number corresponing to the CPU type.......58
     Adapter()        - Returns information about video adapter.............7

     HELP            
     POPUP HELP       - Popup Help Windows..................................227
     HELPKEY          - Defines the key to access popup help with...........144
     SINGLE LINE HELP - Status line help message for GETS and MENUS.........298
     HELP DESIGNER    - Interactively design Help Windows...................143

     HOTSPOTS        
     SrchHotSpot()    - Determine if coordinates are within a hotspot area..303
     CoolSpot()       - Disable a hotspot...................................54
     KillSpotStak()   - Remove a hotspot stack level........................158
     HOTSPOTS         - ...................................................147
     PutSpotStak()    - Replace the current hotspot stack...................246
     WarmSpot()       - Enable a hotspot....................................358
     GetSpotStak()    - Returns the current HotSpot stack...................133
     RemHotSpot()     - Remove a hotspot definition from the stack..........265
     NewSpotStak()    - Create a new hotspot stack level....................198
     AddHotSpot()     - Add a hotspot definition to the stack...............9


     CLIX  Full Featured Library for Clipper 5.x              Page xiv
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....



     KEYS            
     KeySet()         - Alternative to SET KEY TO implementing a stack......155

     MENUS           
     VertMenu()       - Vertical popup menu.................................353
     @PROMPT MENU TO  - Alternate menu system...............................4
     DoPullDown()     - Mouseable pulldown menu system......................76
     AutoMenu()       - Self centering menu function........................17

     MESSAGES        
     MsgBox()         - Generic message box sizes itself to the message.....190
     SET MESSAGE TO   - Enhanced SET MESSAGE TO command.....................288
     PushMsgStyle()   - Saves MESSAGE parameters on a stack.................239
     PopMsgStyle()    - Pops the MESSAGE parameters off stack...............225
     StatWin()        - Displays a boxed status line message................307
     StatPrompt()     - Status line message accepts from list of good keys..306
     Confirm()        - Displays and prompts for a Y/N......................53
     StatMsg()        - Status line message.................................305
     ErrMsg()         - Generic error message window........................90
     Pause()          - Enhanced 'Press any key to continue....' prompter...209
     ACQ()            - A)ccept, C)hange, Q)uit prompt......................6

     MISC            
     Between()        - Tests whether a variable is between two limits......19
     Sign()           - Returns the sign of a number........................296

     MOUSE           
     MouseOn()        - Turn the mouse cursor on............................185
     MouseRead()      - Returns mouse status information....................186
     SetMouse()       - GET/SET block for turning mouse cursor on or off....289
     MouseArea()      - Restricts mouse cursor movement to an area..........182
     MouseOff()       - Turn the mouse cursor off...........................184
     MOUSE            - ...................................................181
     MouseInit()      - Initialize the mouse................................183

     NETWORK         
     NICNum()         - Retrieve Network interface card number..............201
     NetUse()         - Open file in shared/exclusive.......................197
     CapturePrt()     - Begin printer capture for Novell Netware............28
     EndCapture()     - End printer capture for Novell Netware..............85
     RecLock()        - Record lock.........................................264
     AddRec()         - Append blank and lock record........................10
     FilLock()        - File lock...........................................102
     MULTILOCK        - MULTILOCK command locks multiple records............195

     PICKLIST        
     PickNOrder()     - Picklist of fields with ordering....................216
     PickList()       - Popup picklist with single select or multiple tag...214
     PopFields()      - Popup picklist of database fields...................222


     CLIX  Full Featured Library for Clipper 5.x              Page xv
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....



     PRINTER         
     RetEscCodes()    - Returns currently loaded escape code array..........268
     PgHead()         - Generic report header...............................211
     GetDrvrList()    - Get list of .PRT driver files.......................126
     SendEsc()        - Send escape codes to the printer....................287
     IsEsc()          - Determine if a printer attribute is defined.........150
     LoadDrvr()       - Load printer driver data............................162
     RouteOut()       - Dialog to route output to screen, local, network....274
     RetPrtInfo()     - Returns info about the current printer driver.......269
     LoadPrt()        - Load printer driver.................................163
     ChuzPrt()        - Picklist for available printers.....................41
     PDrvrLoaded()    - Returns .t. if a printer driver has been loaded.....210
     PrintFile()      - Print a text file...................................231
     PutPrtInfo()     - Set information about the current printer driver....245
     PrtMaint()       - Printer maintenance utility module..................233
     PutEscCodes()    - Update the Escape code array directly...............243
     PReady()         - Tests local printer status..........................230
     PrtReady()       - Tests if a printer is ready, displays dialog........234

     QUERY           
     Query()          - Menu driven Query expression builder................248
     SetQry()         - Set the current Query expression....................291
     QUERY            - ...................................................247

     RANDOM          
     RandStr()        - Return a string made of random characters...........255
     Randomize()      - Randomize the current random seed value.............254
     RANDOM FUNCTIONS - ...................................................253
     Rand()           - Return a random integer.............................252
     GetSeed()        - Return the current random seed value................132

     RECORD          
     Scatter()        - Copies record contents into an array................278
     SeekLast()       - Seek for the last occurence matching a key..........286
     Gather()         - Saves data from an array to a record................113
     RecCopy()        - Copies/moves a record to a similar DBF..............262
     CopyFields()     - Copies fields from one dbf to another with scoping..55
     Sum()            - Adds a value to a field.............................310

     SCREEN          
     Fade()           - Slideshow type fades for displaying screen images...91
     PosCell()        - Position row,col to display data in tables..........229
     FillBG()         - Fill screen with a character........................101
     HorzLine()       - Draws a horizontal line with "smart" intersections..146
     ShadSay()        - @ SAY with small shadow.............................294
     ReadChar()       - Pull character and attribute from the screen........256
     Scrn2File()      - Saves the current screen to a file..................281
     ScrHead()        - Generic Screen Header...............................280
     ScrollBox()      - Performs a timed scroll of an area..................282
     CenterLine()     - Center text on a row................................34
     TextPress()      - Simulates the pressing of a text button.............322


     CLIX  Full Featured Library for Clipper 5.x              Page xvi
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....


     ReadScrn()       - Reads a screen image file into a variable...........260
     RecArea()        - Recolors an area without changing the text..........261
     VertLine()       - Draws a vertical line with "smart" intersections....352

     SECURITY        
     Decrypt()        - Un-encrypt a string.................................67
     UserMaint()      - Supervisor's security maintenance module............347
     GetUserLevel()   - Returns the current users security level............137
     ChkLevel()       - Test security authorization for a process...........39
     ThisUser()       - Return security info about the current user.........323
     GetPW()          - Password data entry echoes back *...................131
     UserChgPW()      - Allow a user to change their password...............345
     SECURITY         - ...................................................285
     Encrypt()        - Encrypt a string....................................84
     UserLogin()      - Login routine with passwords and security levels....346

     SOUND           
     SOUND EFFECTS    - Various sound effects...............................300
     Play()           - Play a sequence of notes............................217

     STACKS          
     GetStack()       - Returns the entire stack as an array................134
     TopStack()       - Moves an item to the top of the stack...............328
     DelStack()       - Delete an item from the stack.......................69
     PopDbf()         - Restore workarea information from the stack.........221
     PushCursor()     - Save the state of the cursor........................236
     PushDbf()        - Save workarea information to a stack................237
     NextHndl()       - Return the next available handle....................199
     PushKeys()       - Saves the current set of SET KEY's on a stack.......238
     PushStack()      - Save an item on a stack.............................240
     PopKeys()        - Restores a set of SET KEY's from the setkey stack...224
     PopStack()       - Retrieve an item from the stack.....................226
     PopCursor()      - Restore the state of the cursor.....................220
     STACK FUNCTIONS  - ...................................................304
     SrchHndl()       - Locates an item in the stack........................302

     STRING          
     Currency()       - Formats a numeric as a currency string..............62
     CheckAmt()       - Converts a check amount to English..................36
     Xdelim()         - Extract the nth "record" from a delimited string....362
     Dig2Str()        - Converts integer to a trimmed string................72
     AtPos()          - Find the nth occurence of a substring in a string...16
     Any2Str()        - Converts C, L, D, N datatypes to a string...........12
     ParseQual()      - Parse a filespec into drive, path, file, extension..208
     RightJust()      - Right justify and display a string..................272
     Proper()         - Proper capitalize a string..........................232
     RLJust()         - Right / left justify two strings....................273
     LeadZero()       - Pads a numeric with leading 0's and returns as str..160
     FlipText()       - Flip a delineated text string.......................105
     ft_Byt2Hex()     - Convert a character to a hexadecimal string.........107
     ft_Hex2Dec()     - Convert a hexadecimal string to a decimal number....109


     CLIX  Full Featured Library for Clipper 5.x              Page xvii
     (c) 1994 BERNATH COMPUTER, all rights reserved

     TABLE OF CONTENTS con't.....



     UTILITY         
     PopAscii()       - Popup ascii table...................................218
     MODIFY STRUCTURE - Create / Modify DBF structure.......................179
     UTILITIES        - ...................................................349
     FIELD HEADERS    - Utility to create #define headers for dbf fields....94
     STRUCTURE TO PRG - Generates code to create a database.................309
     DATA DICTIONARY  - Utility for maintaining index dictionary and print..63

     VALIDATION      
     VALIDATION       - ...................................................350
     ValMsg()         - Validation function beeps and displays error msg....351
     GtZero()         - Validates that a numeric is positive................142
     Lookup()         - Validates a GET entry against a lookup database.....164
     NotEmpty()       - Validates that a value if not empty()...............203

     WINDOW_OBJ      
     WINDOW OBJECTS   - ...................................................361
     Win2Top()        - Move a window object to top of window stack.........360
     MoveWind()       - Move a window object................................189
     AssignWCargo()   - Assign values to a window object's cargo slot.......15
     GetWObj()        - Returns a window object (array).....................138
     IsOnTop()        - Returns .t. if the specified window in on top.......152
     SayInWin()       - Display text in a window subject to its boundaries..277
     KillAllW()       - Remove all window objects...........................156
     KillWind()       - Remove a window object definition...................159
     ScrollWind()     - Scroll text within a window.........................283
     MakeWind()       - Create a window object..............................168
     SizeWind()       - Resize a window object..............................299
     ShowWind()       - Make a window object visible........................295
     HideWind()       - Make a window object invisible......................145

    
