On Ma, 2008-09-29 at 11:32 +0200,
wrote:
:
Message: 2 Date: Sun, 28 Sep 2008 08:44:46 -0700 (PDT)
A bit late, but let's give it a try.
:
Subject: [fpc-pascal] Re: command-line+Carbon template
:
Show quoted text 7 lines
Be all that as it may, this whole Rube Goldberg runs great when compiled
under CodeWarrior using MPW file i/o routines. With FPC's Turbo routines,
I'm seeing some strange "race conditions" that lead me to believe the FPC
version of the program perhaps is not completely relinquishing its hold on
a file even after it's been flushed and closed. Whatever the cause, the
end result is that the file persists in the shared folder after the LISP
code thinks it's deleted it, confusing matters in a big way.
:
Bill
Here I would only like to suggest trying to use the same file handle with a new file name... maybe renaming it (dummy name) after copying it to another file (maybe the proper name). I think I had a similar situation with a batch file from within an excel macro. I think it might rather be a OS environment issue than the program itself. I hope I am not misleading you...
DanieW
