indexed? but is the search function not just a search of all the text? What does the index have to do with searching?
I see your point. You are using the SEARCH functionn of the INDEX tab. I am not. I am using the SEARCH tab (where PSEUDO is found, but PSEUDO-ARRAYS is not).
Search found 498 matches
- 20 Jul 2021, 09:33
- Forum: Ask for Help (v1)
- Topic: searching documentation for "pseudo-arrays"
- Replies: 3
- Views: 177
- 20 Jul 2021, 08:44
- Forum: Ask for Help (v1)
- Topic: searching documentation for "pseudo-arrays"
- Replies: 3
- Views: 177
searching documentation for "pseudo-arrays"
When I use the search function in the documentation and search for "pseudo-arrays" (with or without the quotes), nothing is found. This is true for the online HTML version and the offline version.
1. Why?
2. Is there a way to search for "pseudo-arrays"? (or, any other complex string)
1. Why?
2. Is there a way to search for "pseudo-arrays"? (or, any other complex string)
- 14 Jun 2021, 08:59
- Forum: Suggestions on Documentation Improvements
- Topic: A_ThisLabel references needed Topic is solved
- Replies: 3
- Views: 2007
A_ThisLabel references needed Topic is solved
I had great difficulty finding the way to get the name of the called (via gosub or goto or gui g-label) subroutine today. It would be very helpful if GoSub and Goto included mentioning that they set A_ThisLabel or A_ThisLabel is added to the these command's "RELATED" section. Additionally, GUI g-lab...
- 14 May 2021, 08:30
- Forum: Bug Reports
- Topic: AHK doesn't report a Sharing Violation error Topic is solved
- Replies: 7
- Views: 2103
Re: AHK doesn't report a Sharing Violation error Topic is solved
Could someone explain why the author's script includes the FILEOPEN() command?
I add pictures to guis all the time without first opening the file. And, if the picture is already open in IRFANVIEW or PHOTOSHOP, my GUI ADD commands work just fine.
I add pictures to guis all the time without first opening the file. And, if the picture is already open in IRFANVIEW or PHOTOSHOP, my GUI ADD commands work just fine.
- 11 May 2021, 10:16
- Forum: Forum Issues
- Topic: How to mark a topic "SOLVED"? Topic is solved
- Replies: 36
- Views: 14396
Re: How to mark a topic "SOLVED"? Topic is solved
I can no longer find the green check mark Icon to mark a topic I have authored as SOLVED.
Does it still exist?
I can not figure out how to Mark SOLVED my latest post.
Does it still exist?
I can not figure out how to Mark SOLVED my latest post.
- 11 May 2021, 09:41
- Forum: Suggestions on Documentation Improvements
- Topic: what is Xbutton1? Topic is solved
- Replies: 3
- Views: 11527
Re: what is Xbutton1? Topic is solved
Thanks, Ragnar
- 10 May 2021, 10:34
- Forum: Suggestions on Documentation Improvements
- Topic: what is Xbutton1? Topic is solved
- Replies: 3
- Views: 11527
what is Xbutton1? Topic is solved
Key history showed "Xbutton1" for me. My mouse has only 3 buttons, so I'm confused (so easily). So, I opened the doc INDEX and found XBUTTON. It took me the the doc for the CLICK command.
But, there the word XBUTTON is not to be found. This is not good.
But, there the word XBUTTON is not to be found. This is not good.
- 22 Apr 2021, 09:50
- Forum: Ask for Help (v1)
- Topic: How to Validate if a variable has been initialized
- Replies: 24
- Views: 3163
Re: How to Validate if a variable has been initialized
@lexicos said "How can I tell if a script has a variable with the given name?" That is EXACTLY how I should have phrased my question. The problem arose when writing a hotkey subroutine to display variable values (of the same script). I was entering unused variable names and wasn't able to tell they ...
- 21 Apr 2021, 15:32
- Forum: Ask for Help (v1)
- Topic: How to Validate if a variable has been initialized
- Replies: 24
- Views: 3163
Re: How to Validate if a variable has been initialized
I would doubt LISTVARS scans the code. I would think he reads the symbol table. Otherwise, how can you explain him showing VAR100 in the following:
z := 100
var%z% := 666
listvars
msgbox holding listvars display ...
z := 100
var%z% := 666
listvars
msgbox holding listvars display ...
- 21 Apr 2021, 14:49
- Forum: Ask for Help (v1)
- Topic: How to Validate if a variable has been initialized
- Replies: 24
- Views: 3163
Re: How to Validate if a variable has been initialized
thanks. Boiler's solution is rather cool! But, unfortunately, what I REALLY wanted--and, yes, I probably misworded my question--is: How can I tell if a variable has been USED in a script? That is, can there be a way to distinguish betweenthe two "Not initialized" responses in regards to VAR2. I'm pr...
- 21 Apr 2021, 14:01
- Forum: Ask for Help (v1)
- Topic: How to Validate if a variable has been initialized
- Replies: 24
- Views: 3163
Re: How to Validate if a variable has been initialized
Thanks. I know listvars shows initialized variables. But, I want to do it within my script, without having to "futz" with listvars or someting. Sounds like the answer is: you can't. Kinda disappointing. And, I looked at DEBUGVARS.ahk by lexicos. Way too much and way over my head even if I could modi...
- 21 Apr 2021, 13:33
- Forum: Ask for Help (v1)
- Topic: How to Validate if a variable has been initialized
- Replies: 24
- Views: 3163
How to Validate if a variable has been initialized
AHK has IsByRef(), IsFunc(), IsLabel() and IsObject(). But, I need IsVar().
How can I tell if a script has initialized a given variable?
How can I tell if a script has initialized a given variable?
- 16 Apr 2021, 15:12
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
thanks. that last example is a real doozy. I love AHK, but I hate the command structure. It seems like it an amalgam of styles from 2 or 3 languages. Probably most notably C++, which I never learned. Me, I'm an old mainframer who used IBM stuff which was documented EVER so precisely--probably way be...
- 16 Apr 2021, 14:26
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
sorry I was so argumentative. And WRONG!
The fact--and, yes, it's documented--that another command (although the doc says STATEMENT, I guess there's a difference) can follow the closing brace is SO UNINTUITIVE. Why ever allow that? I guess it makes the parsing easier.
The fact--and, yes, it's documented--that another command (although the doc says STATEMENT, I guess there's a difference) can follow the closing brace is SO UNINTUITIVE. Why ever allow that? I guess it makes the parsing easier.
- 16 Apr 2021, 14:09
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
did you try it?
my bad. you are right....
makes no sense to me, though. why is the WHILE command consider a new command when it is on the same line as the block?
my bad. you are right....
makes no sense to me, though. why is the WHILE command consider a new command when it is on the same line as the block?
- 16 Apr 2021, 14:01
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
i don't know why i bother arguing with you. But, WHILE can be a parameter, as in the FOR COMMAND shown below: colours := Object("red", 0xFF0000, "blue", 0x0000FF, "green", 0x00FF00) for k, v in colours { s .= k "=" v "`n" msgbox %s% } while true MsgBox % s Th command is FOR. that's it. WHILE is para...
- 16 Apr 2021, 13:27
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
BLOCK documentation does NOT describe a WHILE or UNTIL parameter. It only references the WHILE and UNTIL commands.
- 16 Apr 2021, 12:27
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
I'm not trying to do anything. I'm simply mentioning that the documentation is lacking. Just because you normally would not want to do something doesn't mean it should not be documented. And, yes, I realize I have to enter a doc report issue or HOPE someone who reads the problem issue referenced rea...
- 16 Apr 2021, 09:38
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
Re: question about for-loop Topic is solved
Sorry, gregster. My bad. I was looking at https://www.autohotkey.com/boards/viewtopic.php?f=14&t=89397 trying to figure it out and inadvertantly left the "UNTIL CLAUSE" in my test, as follows colours := Object("red", 0xFF0000, "blue", 0x0000FF, "green", 0x00FF00) ; The above expression could be used...
- 16 Apr 2021, 09:19
- Forum: Ask for Help (v1)
- Topic: question about for-loop Topic is solved
- Replies: 20
- Views: 1098
question about for-loop Topic is solved
The doc for for-loop includes the following colours := Object("red", 0xFF0000, "blue", 0x0000FF, "green", 0x00FF00) ; The above expression could be used directly in place of "colours" below: for k, v in colours s .= k "=" v "`n" MsgBox % s I added msgbox, as follows: colours := Object("red", 0xFF000...