AutoHotkey Community

It is currently May 27th, 2012, 4:37 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: March 5th, 2010, 9:40 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
The AHK documentation has made good progress over the past couple years or so. I'm wishing for some on I guess some more advanced logical and math operations, which are a weak point for me.

For instance:

Code:
   else if ((action = "get") || (action = "roll")) && (GetNextNum != 0)


In the AHK documentation where to find the double pipes? The double ampersands? This is just one example. It slows down my learning to have difficulty finding specific instruction. I'd really find that useful.

Thanks for your attention.

ribbet.1


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 5th, 2010, 9:45 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
ribbet.1 wrote:
In the AHK documentation where to find the double pipes? The double ampersands?
http://www.autohotkey.com/docs/Variables.htm#Operators they are just another way to write AND or OR but more examples is always a good thing :wink:

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2010, 1:22 am 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Well I appreciate that HugoV. I'm still thinking of the many occasions I've found something that I've had to search a long time to learn about, but I can't remember any specific examples right now. I guess dereferencing vars is one but that's only one.

And I agree; examples are very helpful. The documentation has improved quite a lot over the past couple years, BTW.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2010, 1:59 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
The documentation of Ahk is not aimed to learn programming and the language itself. Its more like dictionary. Thats why beginners have problems to learn, but pros know where they can find specific information, or where to search for at least.

Ahk lacks an tutorial which sees the whole thing separated in different categories for learning. I mean, something like a book. (I did begin to work on something in German, but its a never ending story.)

_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 6th, 2010, 7:17 pm 
Offline

Joined: February 20th, 2007, 1:37 pm
Posts: 198
Location: D.C.
Tuncay wrote:
The documentation of Ahk is not aimed to learn programming and the language itself. Its more like dictionary. Thats why beginners have problems to learn, but pros know where they can find specific information, or where to search for at least.

Ahk lacks an tutorial which sees the whole thing separated in different categories for learning. I mean, something like a book. (I did begin to work on something in German, but its a never ending story.)


Yes, I think you understand. There has been great progress over the past few years. Not just in the code but in the documentation. The difference between a manual and a command reference is real, but I still appreciate what we have.

Speaking just for myself, I never intended to learn AHK. I just found myself using it more and more. :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group