[net.micro.cbm] HELP ME! Problems with ABACUS C Language

arp@oucs.UUCP (John Gordos) (06/27/86)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***
                  
            (* Customary line for the Line Eater *)


       Yes, I bought ABACUS' C Language Compiler.  Having nothing to 
   compare it to, I am quite satisfied with the product, EXCEPT for the
   documentation.   They supply a 130+ pg manual that says NOTHING.  It
   gives cutesy little demo programs that aren't of much practicle use,
   and seems to gloss over the Commodore specific details.   Anyway, here
   is my problem.

       I'm trying to save the contents of a structure onto a data disk.
   I have the file declaired in the following manner:

   FILE   Data1

       .
       .          /* Declarations of the Structure */
       .
   
   main()
        
       Data1=open(8,8,"Data1");   /*  Giving the Logical name to the datafile
                                      and opening the data file               */
 
       .
       .
       .          /*  Manipulations of Info in the Structure  */
       .
       .
       fprintf(Data1,Date[i].Month);
                  
                  Herein lies the problem.   It occurs at run-time.
             The machine locks up and reports an "Invalid FileName"
             error.  
  
      Can someone tell me what is going on?    Any and all help/speculation
    or general beratement for my ignorance would be hugely appreciated.


                                         
-- 
          
            "Well.....Uh,  Yeah."
		John A. Gordos, III
         ihnp4!{amc1,cbdkc1,cbosgd,cbrms1,c,cuuxb}!oucs!arp