This library allows to send a single fax from any Clipper-application with a
CAS-compliant modem. This library has been tested with an Intel SatisFAXtion
and is freeware. You may use and distribute it freely, but you may not sell or
distribute it with your name on it. 
I'll be interested to hear some comments on this library. I can be reached at
the aquarium BBS (503-588-7572) by sending a message to Ronny Bolle or through
fax at 00322-720.86.68 in Belgium.

Linking.
This library requires the nanforum library.

Blinker fi MyApplication lib casfree, nanfor

This library contains 2 functions: CASState() and CASFileSubmit(). 
 Function Ŀ
  Description: CASState() detects whether the Resident Manager is         
               currently installed.                                       
    Copyright: Ronny Bolle                                                
Ĵ
     Function: CASState()                                                 
    Arguments: None                                                       
 Return Value: nRetValue -> 0 = Not installed.                            
                            1 = Not installed, not OK to install.         
                            2 = Installed.                                


 Function Ŀ
  Description: CASFileSubmit() provides a simple method of sending a      
               single file, either as a fax or as a file transfer. The    
               function creates and submits the necessayr Control File    
               and returns the corresponding event handle (or a negative  
               error code).                                               
    Copyright: Ronny Bolle                                                
Ĵ
     Function: CASFileSubmit( aData )                                     
    Arguments: aData -> An array containing the following values:         
                 [aData[1]]  -> Transfer type.                            
                                0 = 200x200 dpi, fax mode.                
                                1 = 100x100 dpi, fax mode.                
                                2 = File transfer mode.                   
                                Default value is 0.                       
                 [aData[2]]  -> Text size (if ASCII file, fax mode).      
                                0 = 80-column.                            
                                1 = 132-column.                           
                                Default value is 0.                       
                 [aData[3]]  -> Time to send, in 24 hour, "hh:mm"-format. 
                                If time is omitted, file is scheduled to  
                                be sent immediately.                      
                 [aData[4]]  -> Date to send.                             
                                If date is omitted, file is scheduled to  
                                be sent immediately.                      
                 [aData[5]]  -> Destination Name, as an ASCII string.     
                                Default value is "".                      
                 [aData[6]]  -> Path and name of the file to send, as an  
                                ASCII string.                             
                                If omitted, only a cover page is send.    
                 aData[7]    -> Phone number to call, as an ASCII string. 
                 [aData[8]]  -> Application-specific tag field, as an     
                                ASCII string.                             
                 [aData[9]]  -> Cover page flag.                          
                                0 = Don't send cover page.                
                                1 = Send cover page.                      
                                Default is don't send cover page.         
                 [aData[10]] -> Cover text, as an ASCII string. This text 
                                is sent if the cover page flag is set to 1
 Return Value: Positive event handle or a negative error code.            

