WAt this error??
Author |
Message |
kanye_west_owns
|
Posted: 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
|
|
|
Dan
|
Posted: 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! |
|
|
|
|
|
|