jondolar Posted September 6, 2005 Share Posted September 6, 2005 Hi everyone I'm writing to an ini file for testing purposes. $i = 0 While $i <= 1000 IniWrite("D:\Autoit3\Serge\MYINI.ini", $i, $i, $i) ;Sleep(100) $i = $i + 1 Wend Without Sleep(100), The output looks like that: [0] 0=0 [1] 1=1 [2] 2=2 [3] 3=3 . . . [497] 497=497 [498] 498=498 it stops anywhere between 490 and 530. (File erased between each run) If I use Sleep(100), it stops around 57. My question: any idea while it stops like that? Any workaround? This should easilly go 10,000 if I wanted to unless there is something I don't understand. AFAK the theoretical limit for an ini file with win 9x is 64k and this limit was removed for win XP. TIA Serge Link to comment Share on other sites More sharing options...
GaryFrost Posted September 6, 2005 Share Posted September 6, 2005 (edited) ran it on my system using the release version, it went all the way to 1000 OS WinXP Pro SP2 Edit: upped the number to 10,000 and ran just fine. Edited September 6, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
BigDod Posted September 6, 2005 Share Posted September 6, 2005 (edited) ran it on my system using the release version, it went all the way to 1000OS WinXP Pro SP2Edit: upped the number to 10,000 and ran just fine.<{POST_SNAPBACK}>Mine also went all the way. Same OS and the ini file was 16k.Edit :- Just passed 11000 and still going. Edited September 6, 2005 by BigDod Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
jondolar Posted September 6, 2005 Author Share Posted September 6, 2005 Mine also went all the way. Same OS and the ini file was 16k.Edit :- Just passed 11000 and still going.<{POST_SNAPBACK}>I don't understand what's wrong. I tried to run the script with the Autoed editor with both the production version and the latest Beta by toggling between the two with Toggleau3Beta.au3. Same results as stated before. I'm baffeled!Serge Link to comment Share on other sites More sharing options...
seandisanti Posted September 6, 2005 Share Posted September 6, 2005 I don't understand what's wrong. I tried to run the script with the Autoed editor with both the production version and the latest Beta by toggling between the two with Toggleau3Beta.au3. Same results as stated before. I'm baffeled!Serge<{POST_SNAPBACK}>rather than running in an editor, run it by itself, or compile and run, then test... Link to comment Share on other sites More sharing options...
jondolar Posted September 6, 2005 Author Share Posted September 6, 2005 (edited) rather than running in an editor, run it by itself, or compile and run, then test...<{POST_SNAPBACK}>Thanks for the suggestion. It works when run by itself. My confidence in ths Autoedit is greatly reduced ;o)SergeTested the script dirctly. It takes 15 sec per 1000 writes. That's awfully long. Is that normal? Edited September 6, 2005 by jondolar Link to comment Share on other sites More sharing options...
seandisanti Posted September 6, 2005 Share Posted September 6, 2005 Thanks for the suggestion. It works when run by itself. My confidence in ths Autoedit is greatly reduced ;o)Serge<{POST_SNAPBACK}>have you checked out SciTE4Autoit ? check links at homepage... great stuff... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now