AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Loop, parse ...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Fri May 14, 2004 12:20 pm    Post subject: Loop, parse ... Reply with quote

I've tried to get/parse for UpperCase characters in an AHK command.
Shrinked sample code:

Code:
AHKCommand = WinWaitActive
ExcludeChar = abcdefghijklmnopqrstuvwxyz

FileAppend, %AHKCommand% =%A_Space%, C:\AHKAbbreviations.txt

Loop, parse, AHKCommand, , %ExcludeChar%
FileAppend, %A_LoopField%, C:\AHKAbbreviations.txt
Exit


Result should have been: WinWaitActive = WWA
That's what I've got: WinWaitActive = WWA8D Question

AHK: 1.0.10
W2K

With a prevoius code I've had this output:

WinWaitActive = WWA">&;</>
< ="">< ="#6666CC" ="V" ="-: 18">
%% </></>
< ="">< ="#6666CC" ="V" ="-: 18">
S L %%:%% </></>
< ="">< ="#6666CC" ="V" ="-: 18">
P %% </></>
</>
</>

Confused


Last edited by Beastmaster on Fri May 14, 2004 2:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Fri May 14, 2004 1:14 pm    Post subject: Reply with quote

There's always that trailing ... 8D regardles if the variables content will be changed.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Fri May 14, 2004 1:26 pm    Post subject: Reply with quote

Thanks for reporting this. Hopefully, it's fixed now:

A bugfix has been applied to the 1.0.10 Installer, thanks to Beastmaster:

Fixed a bug in parsing loops that occurred only when the delimiter list was empty but the omit-list was not.
Back to top
View user's profile Send private message Send e-mail
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Fri May 14, 2004 2:36 pm    Post subject: Reply with quote

Thx Chris. Very Happy Very Happy Very Happy Very Happy Very Happy (your average support rating: 5/5) Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group