Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 WAt this error??
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kanye_west_owns




PostPosted: Thu May 20, 2004 5:47 pm   Post subject: WAt this error??

Guys im getting this error:

"Eof attempted on incompatible stream number 1. "

ne1 know wat it means, it gives me the error on this code line

code:

          loop
        get : temp, skip
        exit when eof (file)
        get : temp, snew : *
        put : file, snew
    end loop
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Thu May 20, 2004 6:26 pm   Post subject: (No subject)

it means there is nothing left for it to read in that file. Try somting like this:

code:

     loop
        exit when eof (temp)
        get : temp, skip
        exit when eof (temp)
        get : temp, snew : *
        put : file, snew
  end loop


you do not tneed the eof for file, u need it for temp, b/c temp is the reading of the file and put is making it.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: