On Mon, 31 Mar 2008, Alex Strickland wrote: > >Now, i want to fclose() the text file when the object is destroyed. > >How can i do this with harbour ? > I do not think there are destructors in Harbour, call an exit/close > method. > They do exist in xHarbour.
You are wrong. Only Harbour have fully working destructors and xHarbour doesn't. The xHarbour implementation is too buggy for serious usage. Please read docs/destruct.txt and try test code in destruct.prg. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour