in reply to Re: can't write a variable to a file
in thread can't write a variable to a file

as per docs...you never unlock a file..just close it and it becomes unlocked and is flushed. unlocking before close (where it's flushed) is causing the problem....especially that you don't write "\n", which forces a buffer flush also.
  • Comment on Re: Re: can't write a variable to a file

Replies are listed 'Best First'.
Re: Re: Re: can't write a variable to a file
by sabotodd (Initiate) on May 11, 2004 at 10:07 UTC
    I've written it with out the lock, and it still causes the problem.