ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[Activetcl] file content does not update
by Mahmood Naderan other posts by this author
Oct 30 2009 12:56AM messages near this date
view in the new Beta List Site
[Activetcl] highest allowed clock value? | Re: [Activetcl] file content does not update
I wrote a program that by clicking the the "save" button, some strings are appended to a fil
e. 
��� set out2 [open "cabprop.dat" a+]
�� �# add some strings
�� �close $out2
�� �# destroy window
The problem is after the window (the window that contains "save") has closed, the file conte
nt won't get updated. I have to close the main window and after that the text editor prompts
 for reloading the file. I don't know why... 'close' command should close the file but it do
esn't work until the main window is closed.

Thanks,
_mnaderan_



      
Thread:
Mahmood Naderan
Mahmood Naderan
Mahmood Naderan
Larry W. Virden
Thomas Wunderlich

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved