Last Updated on Wednesday, 08 September 2010
Just a quick note for the moment on how to use ternary operators in AutoHotkey. A ternary operator for those who are unfamiliar with this is an "If...Then...Else..." statement written in a small amount of code, usually on one line, and exists in most programming languages.
For Example, the statement:
- If (ThisCondition = true)
- ThisVar:=1
- Else
- ThisVar:=2
Converted to Ternary this would look like:
- ThisVar:=(ThisCondition = true) ? 1 : 2
Latest Posts
-
Joes Quicklist Weblinks (JQW)
-
Tue 18-Jun-13
Hi Joel, Great module, it really fills a need, and I'm not even using the thumbnails. It doesn't seem ...
-
Tue 18-Jun-13
-
Migrate Joomla! 1.5.x to 2.5.x+
-
Fri 07-Jun-13
Hi Drew, I've got a silly question, are you sure the template you are using has been upgraded or ...
-
Wed 05-Jun-13
Joel, Thanks for the newly updated instructions. I was nearly successful in getting everything working.
-
Wed 05-Jun-13
Hi Drew, Good point. You need to copy your images folder from your old site over to your new one. You ...
-
Tue 04-Jun-13
Making a little progress here. I already had a copy of the live site running on this test server. So ...
-
Fri 07-Jun-13


Comments
Var := (Condition) ? Return_if_true : Return_If_false
Nice =P
RSS feed for comments to this post