TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: Ron T Lewis
date: 1995-09-29 09:01:16
subject: File IO Error

Hello Paul,

PE>RTL> The following function works fine on the **first** call for any
  >RTL> particular pic file. IE:- I can load file a, b or c and it runs
  >RTL> perfect until I want to load a or b for the second time.

PE>I can't see anything wrong with the code, but try reducing
  >the whole program to a 10-line program that simply loads
  >the same file twice, and prints out the return from fread.
  >BFN.  Paul.

Yep! I tried that and it works fine..

I realize it's gottu be something in my main code but I was hoping
perhaps I was missing something peculiar to the Dos file system.

I can't for the life of me understand why it's happy to load
different files but refuses to back up...

Thanks for the input though...

(OH! Well! Life's like that Sumtimes!) Regards Ron T Lewis
 InterNet Address (ron.t.lewis{at}softtech.brisnet.org.au)
  FidoNet Address  (Ron T Lewis 3:640/201)

--- Maximus/2 3.00
* Origin: Soft-Tech, Qld, Australia +61-7-869-2666 (3:640/201)
SEEN-BY: 50/99 620/243 623/630 640/101 201 206 215 216 217 222 238 247 281
SEEN-BY: 640/299 301 302 305 375 390 452 523 531 820 821 822 823 890 937
SEEN-BY: 690/660 711/401 409 410 413 430 510 807 808 809 932 934 712/515
SEEN-BY: 713/888 714/906 800/1 7877/2809
@PATH: 640/201 820 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.